[RELEASE]THE FIRST NPC I'VE EVER CODED!

12/05/2009 16:48 Arcо#16
Quote:
Originally Posted by airborne. View Post
Yes I agree, but it is my first code lol wasn't supposed to be the best.
Lol don't worry, I wasn't flaming your code.
It's only your first.
Doesn't need to be great.
I was just giving feedback on 12tails' code.
12/05/2009 17:02 Korvacs#17
Quote:
Originally Posted by Tiku View Post
In my opinion you should rather use 12tails' code than airborne.
That's only because its short and takes up less room and is simpler.
I wouldnt, if someone decides that they are going to try and bring down your server, that code can be exploited by changing your job to something that isnt defined in the source, like 82, then everything which requires the server to determine the job of a character and make a decision based on it will almost certainly result in an exception, and crash the server.

And no one wants that do they?
12/05/2009 17:05 Arcо#18
Quote:
Originally Posted by Korvacs View Post
I wouldnt, if someone decides that they are going to try and bring down your server, that code can be exploited by changing your job to something that isnt defined in the source, like 82, then everything which requires the server to determine the job of a character and make a decision based on it will almost certainly result in an exception, and crash the server.

And no one wants that do they?

And how would that be any different from using airborne's code?
12/05/2009 17:07 airborne.#19
Quote:
Originally Posted by Korvacs View Post
I wouldnt, if someone decides that they are going to try and bring down your server, that code can be exploited by changing your job to something that isnt defined in the source, like 82, then everything which requires the server to determine the job of a character and make a decision based on it will almost certainly result in an exception, and crash the server.

And no one wants that do they?
How is it possible? My NPC only gives you choices of correct Job ids.
12/05/2009 17:57 Korvacs#20
Quote:
Originally Posted by Tiku View Post

And how would that be any different from using airborne's code?
Airborne's lets people choose which class they are, and the server handles which job id they get.

With the other one, i could send a packet to the server with a control id of anything between 15 & 145, and the server would assign my job ID to the control id, meaning that you could get a job of 99 and that would be invalid.

So its completely different, Airbornes is safer in that respect.
12/05/2009 19:52 arab4life#21
Good Job.

Tiku: you could of said good job and let it be, but NO! you got to make it sound like its the end of the world.
12/05/2009 20:20 Zoron#22
Quote:
Originally Posted by arab4life View Post
Good Job.

Tiku: you could of said good job and let it be, but NO! you got to make it sound like its the end of the world.
I can't agree more.
12/05/2009 20:41 Arcо#23
Quote:
Originally Posted by arab4life View Post
Good Job.

Tiku: you could of said good job and let it be, but NO! you got to make it sound like its the end of the world.

Lol I told him good job over msn when he first showed me the code.
12/05/2009 21:21 Basser#24
Quote:
Originally Posted by Korvacs View Post
Airborne's lets people choose which class they are, and the server handles which job id they get.

With the other one, i could send a packet to the server with a control id of anything between 15 & 145, and the server would assign my job ID to the control id, meaning that you could get a job of 99 and that would be invalid.

So its completely different, Airbornes is safer in that respect.
Someone who actually uses his brain.
Not only checking room and/or memory, but also safety and such.
01/08/2010 23:05 angeloraaf#25
Lol if u Copie some thing dont thell u made this ur self.. BECOS THIS A COPIE FROM 4 botters. , Pff
01/08/2010 23:09 copz1337#26
Quote:
Originally Posted by angeloraaf View Post
Lol if u Copie some thing dont thell u made this ur self.. BECOS THIS A COPIE FROM 4 botters. , Pff
no it's not i don't need to go into a stupid leacher's forum to steal something and call it mine. why would i lie, be quiet please, i made it myself with some examples.
01/09/2010 11:16 Korvacs#27
Quote:
Originally Posted by angeloraaf View Post
Lol if u Copie some thing dont thell u made this ur self.. BECOS THIS A COPIE FROM 4 botters. , Pff
Atually the same person released it on both forums.
01/09/2010 15:04 pro4never#28
Nice job. Always nice to see people trying their hand at coding. Hopefully you will keep going with it. I'm sure before you know it you will be able to do alot more ^^
01/09/2010 17:53 copz1337#29
Quote:
Originally Posted by Korvacs View Post
Atually the same person released it on both forums.
lol i don't remember could've been i don't remember if i did.
02/25/2010 22:16 Secrets-man#30
Ehh I added this just.. I think there's missing that What you need to add in NPCS.txt .. Cause I checked mine and I didnt detect anywhere where was something like this 300002?

and whats the meaning of npcs anyway? o.O I mean all the numbers there.. example: 205 1086 16 0 1036 237 189 <-- is that 1086 like that case number in NPCDialog.cs ?