[5165]NPC Help

12/18/2009 21:11 KeepClubin#1
sup guys i made a 5165 pserver and use the NewestCoServer.. theres an npc in twim city like ladyluck but u can go there how much times u want.. i've tryed to remove this npc on NpcDialog.cs but guess im wrong cuz the npc still there.. so i want please help to remove this npc or make he work only 10 times a day like ladyluck.. and my other question is how i do to stop the "Player has suspiciously much cps 999999" thing.

any help?

i alredy thanks ; )

'
UPLOADED: Remove NPC problem SOLVED. Now still just the "Player has suspiciously much cps 999999" thing.
thanks again and cya ;p
12/18/2009 21:49 Electro51#2
You go in database.cs (in the folder source)
Delete :
Quote:
if (C.WHSilvers + C.Silvers >= 0)
Console.WriteLine(C.Name + " has suspiciously much cps : " + (C.WHSilvers + C.Silvers));
if (C.CPs >= 0)
Console.WriteLine(C.Name + " has suspiciously much cps : " + C.CPs);
No tested
Press thanks
12/18/2009 21:58 Huseby#3
Quote:
Originally Posted by Electro51 View Post
Press thanks
he got no obligations to press thanks.
12/18/2009 22:07 Electro51#4
I make bad :) I do not give any obligation Huseby
12/18/2009 22:10 KeepClubin#5
yea u right Huseby, and thanks anyway Eletro51.

i got a new thing i want to fix.. the Cool Effect dont appear when u r full super. : /
for me isnt a big deal to keep like that.. but my buddies like that things. if anyone know how can i make the effect works please let me know.

thanks again.. this forum is damn nice ; )
12/18/2009 22:16 Arcо#6
Quote:
Originally Posted by KeepClubin View Post
yea u right Huseby, and thanks anyway Eletro51.

i got a new thing i want to fix.. the Cool Effect dont appear when u r full super. : /
for me isnt a big deal to keep like that.. but my buddies like that things. if anyone know how can i make the effect works please let me know.

thanks again.. this forum is damn nice ; )

For the super effect, I'm not going to give you the entire code.
Just something for you to work off of.
if (GC.MyChar.Action == CoolID)
SendStatuseffectblahblah.
does that help?
12/18/2009 22:26 KeepClubin#7
well.. not much. but fine.. if u cant help me i will stay hunting this solution here or somewhere.
thanks anyway
12/18/2009 22:32 Arcо#8
Quote:
Originally Posted by KeepClubin View Post
well.. not much. but fine.. if u cant help me i will stay hunting this solution here or somewhere.
thanks anyway

That is more than enough for you to actually get the full code down.
Its pretty much just a few more lines and the code is done.
No need to get all babyish about it.
12/18/2009 22:58 KeepClubin#9
whatever
12/18/2009 23:00 Arcо#10
Quote:
Originally Posted by KeepClubin View Post
whatever

Don't get mad.
All you want to do is copy and paste codes.
If that's all you are going to do then I suggest not running a private server until you get some C# knowledge.
12/18/2009 23:06 KeepClubin#11
yes right, the cool effect is working now.


but think bout it.. forum and guides are supose to help who Don't Know about something. if ur not intrested to help someone who dont know what "if (GC.MyChar.Action == CoolID)" means so why r u here for?
Last edited by KeepClubin; Today at 23:04.
12/18/2009 23:10 Arcо#12
Quote:
Originally Posted by KeepClubin View Post
yes right, the cool effect is working now.


but think bout it.. forum and guides are supose to help who Don't Know about something. if ur not intrested to help someone who dont know what "if (GC.MyChar.Action == CoolID)" means so why r u here for?
Last edited by KeepClubin; Today at 23:04.

This isn't the guide section.
And you asked for help, and I helped.
I gave you the startup of the code.
Even the noobiest of coders can finish it off from that.
12/18/2009 23:20 KeepClubin#13
is that much just put some noob directions when the person u "want" help dont got what u said? thank GOD i could understand.

and right, mr guardian.. dont waste ur and my time. thanks for u "big help"..

"#CLOSED"