P Server "NPC base code/shops/drop items" for who asked me 2 do it
Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.
wtf, i cant find tht in teh whole chat.cs, also can sumoen help me, i edited in new commands and packets into my chat.cs, i build and save, it look like th enew commands, but in teh server only the old commands work, i dont get it, i restarted server and everything
You have to add it to the char.cs ughh i'll talk u through it here is the gm command code:
You may also know how to send all people an message? Something like this :
Code:
WorldHandler.SendAll(ThePackets.Sendmsg(TheClient.MessageID, "System" and all things here
But that doesn't work, May u know how to fix it?
Havn't tried and worldhandler.sendall isnt a chat / message type, it would teleport every char to the location of your choice.
Quote:
Originally Posted by stephanyd
Is my coding for OldGeneral ok?...I'm a noob in coding
I havnt tried doing exp since i removed it and edited it on mine but, the UID shoudlnt be 30 it should be 19 also mychar.exp.x2 is wrong remove the .x2 then the rest is up to you whether that will work i don't know
LOL, Adz, i was trying that thing for GM commands for ever, and i kept using TheClient.Status == "8" >_<, i was about to just be like.. if(TheClient.MyChar.CharName.Contains("[GM]")
{....
But, ***... i need to learn more about coding >.<
LOL, Adz, i was trying that thing for GM commands for ever, and i kept using TheClient.Status == "8" >_<, i was about to just be like.. if(TheClient.MyChar.CharName.Contains("[GM]")
{....
But, ***... i need to learn more about coding >.<
Lol i started like that although i'm still a nub compared to sam
I tried to make my OldGeneralYang to give 1 hour double exp but won't work... Can some1 tell me how?
ehh dubble exp most maby be coded first?
@dirydozen
You got one dc as i noticed and that was 110 promo and that delited all your current gear, so if u had lottery first youv get screwd. look at Tangoras source, his inve works :P
You may also know how to send all people an message? Something like this :
Code:
WorldHandler.SendAll(ThePackets.Sendmsg(TheClient.MessageID, "System" and all things here
But that doesn't work, May u know how to fix it?
Quote:
Originally Posted by adz06676
Havn't tried and worldhandler.sendall isnt a chat / message type, it would teleport every char to the location of your choice.
I havnt tried doing exp since i removed it and edited it on mine but, the UID shoudlnt be 30 it should be 19 also mychar.exp.x2 is wrong remove the .x2 then the rest is up to you whether that will work i don't know
@ adz06676, Well, .. If its wrong, Could you tell me what the Right one is ?
Other Question : ( To anyone who know about NPCs )
I don't understand the NPC's Cuz look this , :
I'm trying to code it... i did what adz said but no icon appear on upper left corner... If some1 know wich file i have to work exactly and the code to enter it would be nice
TheClient.SendPacket(ThePackets.Vital2((long)TheClient.MyChar.UID, TheClient.MyChar.CurHP));
TheClient.MyChar.CanFillHp = false;
TheClient.MyChar.HPTimer.Start();
}
else
TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId,"SYSTEM",TheClient.MyChar.CharName,"You have to wait 1 minute before you can fill your hp with comamnd again.",2000));
}
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr... 09/12/2008 - Guild Wars Trading - 0 Replies Hallo,
ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...