new command #zone_player
new command #zone_player, this command could to be used for all players for get to all basic norrath locations, because many times u need a command #zone, if u char get stucked or if u want go to other continent and u cant see any wizards around (not hard when almost all ppl are playing on servers with 20-30 guys online), then u could use a command #zone_player for go to the next possible locations, and only when u are 75% hp (like #peqzone):
East Antonica --> East commonlands - zoneidnumber=22 South Antonica --> South Ro - zoneidnumber=35 West Antonica --> West Karana - zoneidnumber=12 Faydwer - Gfaydark - zoneidnumber=54 Odus - Toxxulia Forest - zoneidnumber=38 East Kunark --> Emerald Jungle - zoneidnumber=94 West Kunark --> Dreadlands - zoneidnumber=86 East Velious --> Eastern Wastes - zoneidnumber=116 West Velious --> Western Wastes -zoneidnumber=120 Luclin --> Nexus - zoneidnumber=152 East Luclin --> Scarlet Desert - zoneidnumber=175 West Luclin --> Grimling Forest - zoneidnumber=167 if u havent time for implement this new command, i could try to do it, but i cant compile it, because i am using linux, and last emu version is going to be run on linux using wine... |
EQEmu compiles on both linux and windows.
|
Quote:
but version 6.0 works fine. |
if i give u the files that contain the new command added for me, anybody could compile it for windows? i am sure that it could to be a useful command for many ppl.
i also need to know how to do that command only works when players are 75-100% hp thx |
Code:
void command_zone_player(Client *c, const Seperator *sep) |
anybody could to do a windows compile with it? thx, u also need add any few lines on command.cpp:
command_add("zone_player","[zonename]- Go to specified zone",50,command_zone_player) || and command.h after "//commands": void command_zone_player(Client *c, const Seperator *sep); I am not sure if i need add any thing more for the new command works.. |
Adding a command
it clearly tells you you need to add 3 things in the source file...
Code:
To add a new command 3 things must be done: |
Many thanks for your submission Arex.
If I get a chance today, I'll try to compile it with my VS.NET 2003 copy. It depends on whether my sickness has passed to the point that I can think clearly :D |
i ll be checking for changelog, i wait that this new command can to be added soon, i am sure that many server admins will find it useful =)
|
this command will not be added to the official code. You can add it as your own extension if you like. writting it in perl would be easier to maintain.
|
Quote:
|
no server specific code is allowed in the official code base, your code is specific to your server and how you want to run your game world. Doodman and I have spent countless hours removing stuff like this from the code because it is too messy.
|
the other zone_player command that i posted have any error, then if anybody want use this command, i have this code that i think that should work...
Code:
void command_zone_player(Client *c, const Seperator *sep) |
Quote:
I'm wondering if anyone has tested these codes and can verify they work? Reason is, i was trying to compile them and I get errors when I add the scripts - I need to make sure it's me doing something wrong. |
Code:
void command_zone(Client *c, const Seperator *sep) |
Quote:
Ok thanks for your answer - I had figured it out too , i was mis-placing the scripts . I finally compiled, but then lost the hard disk I thought was good :( I'm trying to get a dedicated EQ Linux server running, I'll try again, when I finish re install the box on another hardisk. |
All times are GMT -4. The time now is 03:47 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.