P Server "NPC base code/shops/drop items" for who asked me 2 do it

06/25/2008 09:31 tjhancock101#1006
um how do you make a commands a GM command, can somone post a good chat.ca wiht cp money comands for GM, or just one wiht GM....
06/25/2008 09:47 mindula#1007
The monsters don't drop the items and trade window and shop window don't work
06/25/2008 11:09 YukiXian#1008
Quote:
Originally Posted by bobtin777 View Post
Would a timer be like this
Code:
                        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));
                }

Yes, Thats easy, Cuz u found it somewere in the cs files, But, ... How to make an Timer for an Message ? :confused:

Quote:
Originally Posted by samehvan View Post
i am tryin to add the Guild system , (Bases Done already)

but if u dont know , coding the new things (Guild/friend/WH or any stuff that the main source doesn't have) is too much hard coz u have to build everything from 0,taking considers to all the old , or u will miss it up
and never forget that i am a totally noob yet
Nooooeeesss !!! Ur pro ! :p:p
06/25/2008 11:44 LordDarkScythe#1009
OK sorry for bringing up an old question but I looked all the way thru this thread maybe I missed it somewhere. I downloaded the Source.rar and recompiled it and am using the new TheCOServer.exe from inside the Debug folder to run the program and am still not getting exp from mobs. Does being a GM char have anything to do with that or am I missing something?

[edit]
Sorry tested it out after posting this Normal Chars work fine getting exp I guess GMs shouldnt have to level like normal chars ^_^ thx for this release btw good job so far keep up the good work.
[/edit]
06/25/2008 12:02 mindula#1010
The monsters don't drop the items and trade window and shop window don't work
06/25/2008 13:42 SweeTFlower#1011
Quote:
Originally Posted by samehvan View Post

no that wont work , coz our source based on a diff way , SQL and PGadmin are very much easy but not too many ppl can handle it , what i liked on that source that we try to make it as simple and easy as we can so anyone can deal with it , and i think we dd that so far , ddn't we??

this system is good and simple but cant get working with vista and allot of people soon will have to leave xp an upgrade (i hate the idea to ) but thats how Microsoft did it. basically leaving everyone now unprotected. anyways i am making a video tutorial for that source for someone so its up to you sam.
06/25/2008 15:56 samehvan#1012
Quote:
Originally Posted by SweeTFlower View Post
this system is good and simple but cant get working with vista and allot of people soon will have to leave xp an upgrade (i hate the idea to ) but thats how Microsoft did it. basically leaving everyone now unprotected. anyways i am making a video tutorial for that source for someone so its up to you sam.
i know that , and blv me i do try to find out why it is not working on Vista , i sat up 3 different Vista versions , i do need it to work on vista coz my coming project should work on all systems , i am sending a msg to Microsoft support services to help find out what is the problem ,, BTW dd u dld and satup Vista SP1 ??,
06/25/2008 16:08 gfun1#1013
Quote:
Originally Posted by Yuhawn View Post
Hi,Anyone know how add guild npc,guild war,etc,and here i put in.?


Thanks,Yuhawn.
This isn't possibly at the current server state. None of these things have been correctly implemented.
06/25/2008 17:00 adz06676#1014
Quote:
Originally Posted by samehvan View Post
no it is not :D
first at Dialog.ini (ur second screen shot) put a number instade of x2 just like 1000000 ,, then at ur NpcDialog.cs , change ur exp+ to
ClickyClient.MyChar.AddExp(int.Parse(TheRew[1]));

i ddnt try it , but it should be something like that



i am tryin to add the Guild system , (Bases Done already)

but if u dont know , coding the new things (Guild/friend/WH or any stuff that the main source doesn't have) is too much hard coz u have to build everything from 0,taking considers to all the old , or u will miss it up
and never forget that i am a totally noob yet



no that wont work , coz our source based on a diff way , SQL and PGadmin are very much easy but not too many ppl can handle it , what i liked on that source that we try to make it as simple and easy as we can so anyone can deal with it , and i think we dd that so far , ddn't we??



i dunno,, the line 63 is empty at my source , put the line 63 to c what is wrong with it

Good work sam you're getting alot better and u said ur still a noob no ur not lol im a noob compared to u.
06/25/2008 17:46 SweeTFlower#1015
Quote:
Originally Posted by samehvan View Post
i know that , and blv me i do try to find out why it is not working on Vista , i sat up 3 different Vista versions , i do need it to work on vista coz my coming project should work on all systems , i am sending a msg to Microsoft support services to help find out what is the problem ,, BTW dd u dld and satup Vista SP1 ??,
yea vista i got has SP1 why?
06/25/2008 17:54 Huseby#1016
Quote:
Originally Posted by adz06676 View Post
Good work sam you're getting alot better and u said ur still a noob no ur not lol im a noob compared to u.
Ur server = FTW!
I realy like the idea to lvl with pvp
So stfu pls ur pro enuf:p
06/25/2008 18:06 samehvan#1017
Quote:
Originally Posted by SweeTFlower View Post
yea vista i got has SP1 why?
coz toooo many ppl be4 complained that Vista couldnt deal with any online games ,then they release a finale version of the service pack 1 , they said the original one was bugged , so if u use the original one , try to dld the latest version and try again , may be it will work , although i am not sure it would but just try andd let me know the result plz
06/25/2008 18:22 adz06676#1018
Quote:
Originally Posted by huseby View Post
Ur server = FTW!
I realy like the idea to lvl with pvp
So stfu pls ur pro enuf:p
lol ty but sam can do alot more then i can.
06/25/2008 18:30 adz06676#1019
Quote:
Originally Posted by Light200 View Post
also you get super human str if you change gear colors
Yeh the problem is with the line:
Quote:
"TheClient.MyChar.SendEquips();"
Its not sending the equips its kind of adding the new stats along with the old ones thats what it seems anyway.
06/25/2008 19:46 IAmHawtness#1020
Quote:
Originally Posted by huseby View Post
Ur server = FTW!
I realy like the idea to lvl with pvp
So stfu pls ur pro enuf:p
Lmao I had the same idea as adz, although when killing someone on my server you'll get x amount of CPs based on the victims level, your own level, etc.. And you can buy XP Balls, Mets, DBs, etc. for CPs :p