Maybe making more configurable without source editing.
Like using variables for the account manager vocs(voc1 = "Sorcerer").
Like using variables for the account manager vocs(voc1 = "Sorcerer").
* Custom, add commands for guilds, like !guild (show all members of guild online) - !guildcast (for Leader and vice leaders can broadcast all guild).function isKnight(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isKnight: Player not found.")
return false
end
return (isInArray({4,8,12}, getPlayerVocation(cid)) == TRUE)
I think this cool, but is possible? If all players is kicked, the server needs restart to load new map.Ability to reload world folder! (for ex. all players are set to spawn to temple, and got kicked, then map will be reloaded.) That would be cool!
Ability to reload world folder! (for ex. all players are set to spawn to temple, and got kicked, then map will be reloaded.) That would be cool!
-
- Make relodeables items, stages, vocations, outfits.
If you're using the GUI one you can reload quest logs. Not sure what the command is for it, so might even exist in the other version.Would be cool, but would take ages... Would probably go faster with closing down and starting up again...
Don't forget about reloading Quests (Log)
Why would you recode the account manager? As far as I know almost nobody uses it because a website looks by far more professional.
I like the fact that you are going to concentrate for on the performance.
Good luck,
Christian
<accountManager>
<word say="hi" answer="Hello, here you can create an 'account' or 'recover' an account.">
<word say="account" answer="Type the account number." type="account" minLenght="8" maxLenght="10" justNumbers="yes">
<word type="minLenght" answer="Your account is too short."/>
<word type="maxLenght" answer="Your account is too long."/>
<word type="justNumbers" answer="Please, type just numbers."/>
<word answer="Now type the password." type="password" minLenght="4" maxLenght="20">
<word type="minLenght" answer="Your password is too short."/>
<word type="maxLenght" answer="Your password is too long."/>
<word answer="Account created, now logout." type="generate">
</word>
</word>
<word say="recover" answer="...">
...
</word>
<word type="unknow" answer="I did not understand what you have said..."/>
</word>
</accountManager>
I did not like the map clean to store the position of all trashed tiles.. how many memory resources it will cost? Well, you should add the option enabled/disabled and if its disabled and you want to use the map clean, it will check the entire map.
Another server intensive process is map clean, we will store the position of all trashed tiles and parse them instead of parsing the entire map. Yes, this will cost more memory resources but it will perform map cleans faster. Incase you don't use map clean it will be possible to disable this so the server doesn't store trashed tiles for no reason.
Would be cool, but would take ages... Would probably go faster with closing down and starting up again...
Don't forget about reloading Quests (Log)
Not to be negative, but you do know that this type of map clean has been in OTServ SVN for half a year? Why reinvent the wheel...?Another server intensive process is map clean, we will store the position of all trashed tiles and parse them instead of parsing the entire map. Yes, this will cost more memory resources but it will perform map cleans faster. Incase you don't use map clean it will be possible to disable this so the server doesn't store trashed tiles for no reason.
Not to be negative, but you do know that this type of map clean has been in OTServ SVN for half a year? Why reinvent the wheel...?
Or am I misinterpreting what you're trying to do?
mark@linux:~/projects/opentibia/otserv/trunk$ grep refreshMap *
game.cpp:void Game::refreshMap()
game.h: void refreshMap();
mark@linux:~/projects/opentibia/otserv/trunk$ grep TILESTATE_REFRESH *
map.cpp: if(newtile->hasFlag(TILESTATE_REFRESH)){
tile.h: TILESTATE_REFRESH = 32,
mark@linux:~/projects/opentibia/otserv/trunk$
Now that you're posting about it I remember the refreshMap function, but it looks like your map clean code is incomplete. The tile flag TILESTATE_REFRESH isn't being set anywhere, or at least GNU grep couldn't find a line where it's being set.
It also looks like there isn't any way for the end-user to use it since it isn't being called anywhere.Code:mark@linux:~/projects/opentibia/otserv/trunk$ grep refreshMap * game.cpp:void Game::refreshMap() game.h: void refreshMap(); mark@linux:~/projects/opentibia/otserv/trunk$ grep TILESTATE_REFRESH * map.cpp: if(newtile->hasFlag(TILESTATE_REFRESH)){ tile.h: TILESTATE_REFRESH = 32, mark@linux:~/projects/opentibia/otserv/trunk$
Because it is set from map editor _/
Updated roadmap, actually these are in 0.3 already...