|
You last visited: Today at 01:06
Advertisement
[RELEASE]THE FIRST NPC I'VE EVER CODED!
Discussion on [RELEASE]THE FIRST NPC I'VE EVER CODED! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
12/05/2009, 16:48
|
#16
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by airborne.
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
|
#17
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by Tiku
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
|
#18
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Korvacs
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
|
#19
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Korvacs
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
|
#20
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by Tiku
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
|
#21
|
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
|
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
|
#22
|
elite*gold: 0
Join Date: Dec 2009
Posts: 4
Received Thanks: 10
|
Quote:
Originally Posted by arab4life
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
|
#23
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by arab4life
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
|
#24
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Quote:
Originally Posted by Korvacs
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
|
#25
|
elite*gold: 0
Join Date: Mar 2009
Posts: 8
Received Thanks: 0
|
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
|
#26
|
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
|
Quote:
Originally Posted by angeloraaf
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
|
#27
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by angeloraaf
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
|
#28
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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
|
#29
|
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
|
Quote:
Originally Posted by Korvacs
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
|
#30
|
elite*gold: 0
Join Date: Apr 2007
Posts: 142
Received Thanks: 15
|
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 ?
|
|
|
Similar Threads
|
[WTS] Silkroad Website Templates - Coded/Not-Coded. With .PSD!
11/30/2009 - Silkroad Online Trading - 4 Replies
Examples :
There Is NO Examples at the moment.
Prices :
Price for a full coded website, with a CMS - users can register, write comments. Admin panel included , easy write to news. - 60$.
Included : PSD , all files, FREE WEB HOSTING - 3 months.
|
Coded with...?
06/30/2009 - General Coding - 1 Replies
Hello,
With which was this coded?:
Elitepvpers Browser
Thanks in advance,
High Fire
|
All times are GMT +1. The time now is 01:07.
|
|