i will add oases to git hub once the core is finished no point in adding them yet better to do at same time as hero.
Printable View
i will add oases to git hub once the core is finished no point in adding them yet better to do at same time as hero.
hi
do you have any Solution for task problem?
see this:
http://1.pandora.host22.com/images/46a3c5544feb.jpg
please give me a Solution :(::(::(:
its problery same type of non fomated fiel that causes it sorry will fix it soon just close it and click link self for now
Ahhhh, it just occurred to me that by task you might be implying that empty popup window is meant to be the taskmaster also known as the quests system!
Is the black background specific to tasks/quests system?
All I was addressing was the black background.
It never occurred to me the help/manual/lookup/popup window in foreround might not be you trying to look up info of some kind like maybe to see if the instructions / manual / help had clues that might you solve your problem.
I haven't seen the taskmaster for weeks, myself, so have pretty much forgotten about him until I have the Hero Mansion working so i can have him pop up occassionally to tip your Hero off about some interesting Heroic rumours about places to go and things to do that might appeal to Heroes, or snippets of ancient lore than, who knows, might have bearing upon the lost race that "won the server" long ago and yet have not been seen for many many hours, weeks, days, or even months. :)
I had the quests/tasks all working in "my" version I was hacking at before coming across this TravianX version. I will be losing or having to figure out how to re-do a lot of things if I end up going with this dubious-license version.
(I have pretty nearly verbatim copies of files that guy is claiming all rights to dating back to before he came along and plastered his dubious claims all over copies of them... not even sure yet he actually changed anything other than plastering his dubious rights clains at the top of all the files...)
Aaaaaaanyway, all that aside what I came here for this time was to report that MODERATOR is not being defined into config.php by install/data/constant_format.tpl even though a simple grep looking for places that use MODERATOR calmost instantly finds:
GameEngine/Session.php: $this->isAdmin = $this->access >= MODERATOR;
It seems there is now confusion or redundancy regarding MDOERATORS as distinct from MULTIHUNTERS, since both constants are names for the number 8.
My config.php, created as a copy of the Config.php the scripts I had already been using used as their config file, already contains MODERATORS so I am not sure whether I should include both, and if so whether they really should both equal 8, or whether one of them should be entirely expunged from the code.
GameEngine/Session is a pretty fundamental file, it claims MODERATOR is decisive. Support (user zero) is apparently distinct from the null user, or something like that? (In my other set of scripts user zero, support, owned guild zero, the guild to which all users belonged until they joined an "actual" guild, thus I used to look at that guild to see who (other than folk who joined a real guild) had been online recently, I even had to make it check that only someone with privileges could do that as when I got the scripts any smartipants user could have checked all the newb's online status; the null user/guild is distinguishable from the number zero user/guild).
Which all reminds me that all of a sudden a plot is afoot to give my first few users, those who have been with me longest, weird new status, calling one of them nature all of a sudden when until now he has been as human as any other Roman Gaul or Teuton? And other of them is planned to suddenly turn into a netar? What is that all about? Surely the purpose of having these priv level flags is so one does not have to rely upon the latest netar player, nature-player, etc to be some ancient user who might not even be interested in assuming such a role?
I, user number one on my server, suddenly cannot even view my own profile because suddenly multihunters or support or moderators or something are being confused with having a certain id number instead of being labelled with a specific, revokable, privilege? Or something... haven't figured it out yet. Maybe MODERATOR should be 8 and MULTIHUNTER 6? Or vice-versa? (Leaving room to squeeze another privlevel inbetween them just in case...)
-MarkM-
---------- Post added at 08:36 AM ---------- Previous post was at 08:20 AM ----------
Ahh I just remembered that in the release I fixed the quests system was .js stuff, whereas now apparently someone has started putting it, or at least some of its text, into language files, got to quest five, put two out of four strings of quest six, then repeated quest five. So not sure what is up with that, not sure how well language system works with stuff that is hidden in .js ...
I had to hack the .js to fix quests last time around, and still have not checked that the gifts people have coded into the actual give the stuff routines actually match the text that tells you how much of what you are purportedly getting. Some were quite out of synch.
Problem is enough weird differences exist between the Config.php based version I was working with and this proprietary all rights of all the actual real authors reserved to the new purported proprietor version that I cannot trust any filel to port smoothly. I beoke my working combat system completely just trying to bring in a couple functions from this version's Battle.php and utomation.php for example. That is why I figured I might as well check whether it would be anoy more or less painful to just jump to this one and port my existing fixes to it instead of staying with my working one and trying to port this one's weird strange inexplicable peculiarities into my working version...
Have you notice how web based multi player games all seem almost deliberately broek, as if people are really just running them proprietarily and trying to leech free help from the open source community rather than actually putting out the best versions they can?
Did Ogame clones of any kind ever actually work? If so where did the working versions vanish to?
Zorg Empires basically seems to work, I wonder whose free open source code they are really running? Etc... At what point is this claimer of all previous authors' work as his own going to pull the rug out from under?
-MarkM-
http://peyvandha.ir/http://1.pandora...a3c5544feb.jpg
problem fixed!
if anybody had this problem too,
go to GameEngine/Building.php and GameEngine/Market.php,delete space in end of both files.:love:
Small bug, when I send my settlers to found a new village along the way do not appear in the rally point, but perfectly vile village was founded.
CENTER]Fix?[
Little fix:[/CENTER]
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/multiserv/users/677943/projects/1651442/www/GameEngine/Automation.php:116) in /data/multiserv/users/677943/projects/1651442/www/GameEngine/Session.php on line 53
I have the bug fixed
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename Automation.php ##
## Developed by: Dzoki & Dixie Reworked buy Advocaite ##
## Thanks to: Akakori & Elmar & G3n3s!s & TopErwin & TTMMTT ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ##
#################################################################################
ob_start(); <----- Add this...
class Automation {
private $bountyresarray = array();
private $bountyinfoarray = array();
private $bountyproduction = array();
private $bountyocounter = array();
private $bountyunitall = array();
private $bountypop;
sorry for my bad english.
What does ob_start(); do for it? The only place that has ever been used before is in Chat.php in some kind of javascript/ajax stuff.
Does the problem come back if you take that little fix back out?
I ask because it seems very possible, even likely, that the real problem was one of the whitespace glitches, that maybe you accidentally happened to fix along the way while looking for the problem?
How did ob_start() ever even enter your mind? What is it? What is it meant to do? How does it work? What does it have to do with whether the queue processing will notice you have settlers on the move? Etc...
(Why are settlers the only moving things that need this? Everything else has been moving just fine without that...)
-MarkM-
http://1.pandora.host22.com/images/8087d90fe008.jpg
what`s it?!!!
----------------
I reset my quessts counter to check the quests system. They do not pop up at me like they did way back when. I am pretty sure that the first few times the taskmaster even used the other image of him, with an aura kind of thing around him, momentarily, as well as the expanding wirefram animation, to really draw your attention and try to make you really catch on that he is where the quest magically popped up at you from.
Now though he just stands there dumbly, hoping someday your mouse cursor might happen to pass over him at the right speed or slowness to cause a tool tip to appear and that you might even actually read such a tool tip and wonder what task means.
That seems an awful lot to ask of a raw recruit/newbie. The popping up with the glow thing to draw attention specifically to the image of the taskmsater on the first few quests seemed very important user-interface aspect of actually getting people to wonder whether the image might turn out to be clickable.
-MarkM-
---------- Post added at 09:30 AM ---------- Previous post was at 09:25 AM ----------
One of those lines is the end of a forum topic mysql call, so seems totally random glitch, maybe more whitespace somewhere or something? Or your line numbers in that file are out of synch with mine. Look at those lines see what lines just before hat line were up to when they hit that line and complained...
Or look for more weird whitespace...
-MarkM-
Advocaite i need old yours release: RageZone REV Travian
Version: 5.0.5 RageZone REV
AGE ZONE, TravianX, Dzoki & Dixie & Donnchadh & Advocaite.
Plase send mee link
knotwork ufff you sure post a lot of text man, ok, I start from page 31 fixing all you posted that I can fix, I'am learning PHP so It may take some time. Bout the quest texts, I'am doing the localization of all the text in the game, sorry bout the mess you saw, I started moving all the quest text to the lang files but had to stop because of RL and then advo released the repo and I had to start all over again, that's why you see the quest not completed, the quests texts go to template/ajax/quest_core.tpl so no problem localising this, although I haven't replaced quest_core.tpl yet in the repo, I intent to move all text to lang, and then replace quest_core.tpl. Bout the licence, I dont know how to licence software, but I think we need firth to get rid of any copyrighted image left in the repo, I think advo posted something like that a while ago, If anyone can make images to substitute the ones in our repo, please do post them somewhere in the forum. Maybe we can use another's game images, I saw yesterday a game named 0AD (cero AD), they have licenced their images and sound as CC-BY-SA so I think there is no problem in using them. Afther that if you or anyone know how to license software to a GNU project I think it wouldn't be a bad think, right?
What do you think bout this advo, donn?
i deleted all whitespace,but still i have thi problem. any body can help?!
http://1.pandora.host22.com/images/8087d90fe008.jpg
My old version of Templates/Ranking/overview.tpl worked when I clicked on the shown alliance-name, this new-fangled one though tries to pass the name instead of the id so dies a horrible death.
In my old working one there was an if:
the new, broken version botches the job, basing the if conditional on name instead of id might well be fine for all I know, but passing the name instead of the id in the URL is doomed to failure. SO this is the if that needs fixing:Code:if($ranking[$i]['alliance'] != 0) {
echo "<a href=\"allianz.php?aid=".$ranking[$i]['alliance']."\">".$ranking[$i]['aname']."</a>";
}
-MarkM-Code:if($ranking[$i]['aname'] != "") {
echo "<a href=\"allianz.php?aid=".$ranking[$i]['aname']."\">".$ranking[$i]['aname'].</a>";
}
---------------
It turns out that is also points us toward file that used to let anyone not in a real guild spy on who (also not in any real guild) is online simply by visiting allianz.php?aid=0
That happens near then bottom of the Templates/Alliance/overview.tpl , due to this:
Interestingly it looks like someone did, like me, try to make clearer what the coloured dots actually signify, but, they did not fix the privacy problem of leaving the online status of all users not in a real guild viewable by any random user not a member of any real guild by directing their browser to the url with aid=0 in it.Code:if($aid == $session->alliance){
if ((time()-600) < $member['timestamp']){ // 0 Min - 10 Min
echo " <td class=on><img class=online1 src=img/x.gif title='Now online' alt='Now online' /></td>";
}elseif ((time()-86400) < $member['timestamp'] && (time()-600) > $member['timestamp']){ // 10 Min - 1 Days
echo " <td class=on><img class=online2 src=img/x.gif title='Offline' alt='Offline' /></td>";
}elseif ((time()-259200) < $member['timestamp'] && (time()-86400) > $member['timestamp']){ // 1-3 Days
echo " <td class=on><img class=online3 src=img/x.gif title='Last 3 days' alt='Last 3 days' /></td>";
}elseif ((time()-604800) < $member['timestamp'] && (time()-259200) > $member['timestamp']){
echo " <td class=on><img class=online4 src=img/x.gif title='Last 7 days' alt='Last 7 days' /></td>";
}else{
echo " <td class=on><img class=online5 src=img/x.gif title=now online alt=now online /></td>";
}
}
I am guessing they went in to find out what the colours meant and didn't notice the privacy breach. I on the other hand had gone in to fix the privacy breach and stayed around to figure out what the colours signified.
My fix had looked like this:
Code:if(($aid == $session->alliance) && (($session->alliance != 0)||($session->access >= MODERATOR))){
if ((time()-600) < $member['timestamp']){ // 0 Min - 10 Min
echo " <td class=on><img class=online1 src=img/x.gif title=\"now online\" alt=\"now online\" /></td>";
}elseif ((time()-86400) < $member['timestamp'] && (time()-600) > $member['timestamp']){ // 10 Min - 1 Days
echo " <td class=on><img class=online2 src=img/x.gif title=\"not online\" alt=\"not online\" /></td>";
}elseif ((time()-259200) < $member['timestamp'] && (time()-86400) > $member['timestamp']){ // 1-3 Days
echo " <td class=on><img class=online3 src=img/x.gif title=\"1-2 days off\" alt=\"1-2 days off\" /></td>";
}elseif ((time()-604800) < $member['timestamp'] && (time()-259200) > $member['timestamp']){
echo " <td class=on><img class=online4 src=img/x.gif title=\"3-6 days off\" alt=\"3-6 days off\" /></td>";
}else{
echo " <td class=on><img class=online5 src=img/x.gif title=\"Week+ off\" alt=\"Week+ off\" /></td>";
}
}
-MarkM-
parniaznet are you using the last version in the repo? those white-spaces you posted in post no. 501 was fixed in the repo a while ago. Also I don't have that problem when clicking oasis in the repo.
knotwork I tested the quest and it worked fine. I had that problem a while ago and it was a white space somewhere don't remember where.
Donn already fixed the time zone problem. :)
Ok, I think the problem with the quest was due to uncryp.js, pls update your repo and try again.