Question About Coding...

07/02/2008 11:18 lizzio#1
Ok I Need Sum Help With A PvP Server It Has infinity Stamina taths noth the probleem but HERC is (they spam it like hell ) How Could Our Team Delet Skill "Herc" or make the command admin Thx For Help If u Wanne Join Us go TO [Only registered and activated users can see links. Click Here To Register...] :P
07/02/2008 11:38 KraHen#2
Why the heck should you delete herc? Fix the stamina instead.
07/02/2008 13:50 ~*NewDuuDe*~#3
edit the chat.cs
n u stole futures avatar -.-
07/02/2008 14:40 lizzio#4
Quote:
Originally Posted by ElDeRnEcRo View Post
Why the heck should you delete herc? Fix the stamina instead.
Then How TO Fix Stamina lmao :D
07/02/2008 14:41 lizzio#5
Quote:
Originally Posted by BERGHUIS1 View Post
edit the chat.cs
n u stole futures avatar -.-

i Found it and delete the herc part but u can still use /skill herc to get it explain alittle bit thx :P
07/02/2008 14:46 InfamousNoone#6
Does us all a favor before you try to get into the world of coding;

[Only registered and activated users can see links. Click Here To Register...]
07/02/2008 15:13 ~*NewDuuDe*~#7
lmao
07/02/2008 15:52 leavemealone#8
You havn't provided us with much information, but heres basically the simplist way.

Go to your Skills handler or herc skill interpreter and do like
Character.Stamina -= 30;
07/02/2008 16:38 InfamousNoone#9
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
07/02/2008 17:01 scottdavey#10
Quote:
Originally Posted by InfamousNoone View Post
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
Simply make /skill a GM command and make them purchase skills from market pharmacist.

Easiest way to do it, if you can't make the /skills command GM then you just fail.
07/02/2008 23:44 axelvdb#11
Quote:
Originally Posted by InfamousNoone View Post
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
CLEARLY I GOT C++ AND BTW WE JUST ASKED SUMTHING TO GET AN ANSWER NOTH THO GET CALL FOR TRASH OR SSCHIT THX FOR HELP.
07/03/2008 00:49 InfamousNoone#12
Yes you 'got' C++ but you guys are too retarded to use it for a server.
Your trash and shit, It's quite obvious.
07/03/2008 09:47 ~Yuki~#13
If someone could tell me the lab1-2-3-4 ids it would be awsome :P