You effectively wrote both a brute-force algorithm on your database and a race condition when writing to the configuration table. Congrats. This code is massively ****. Will it effect your server's performance, probably not... but you should consider not being **** and sticking to better programming practices. You won't always be this lucky. If you don't understand the problems I mentioned, then you should before you continue programming a server; else, you're going to cause some very bad problems with your server.
Not actually my code >.< It's what was in the source.
How terrifying. Thank *** I don't involve myself with those sources. Have you tried debugging it using breakpoints? You can always use a not **** source as well.
Why the hell is there a while loop if you want to create a single character.
They apparently use brute-force logic to burn through character IDs and query the MySQL server to find the next character ID (instead of allowing MySQL to handle unique key allocation in a thread-safe manor). They then try to save the ID back to the database which can cause a race condition. It really makes me sick reading this tripe.
You will be pleased to know that I have deleted the source lol
They are prehistoric >.< I am wondering are there any 6100+ sources out there?
You could grab a public source and upgrade yourself.
Throne should work with patches on and above 6090.
I know that the author also said that the source isn't recommended to use for running a server but you could however use it as reference for packets etc.
Absolutely. I have a few members on my board that I'm privately advising doing just that. They're using Redux, but there are many you can chose from. Upgrading a source isn't easy though if you have no programming experience... so I'm not sure how comfortable you'd be doing that (as I don't know your experience in programming). It's not a challenging task, but it will take some dedication (which will be rewarded, of course, when your server isn't a heaping pile of software).
I was using ncos 5165 at one stage but lost it due to a hard drive issue, it was fun at the time, recently suffered a stroke so most of what I had learnt is now non existent
I was using ncos 5165 at one stage but lost it due to a hard drive issue, it was fun at the time, recently suffered a stroke so most of what I had learnt is now non existent
Sorry to hear that. You may want to look into Redux, then. From what I've seen, it's relatively easy to understand. You can also look at Phoenix, since that's documented. The server model in Phoenix is bad, though. I still recommend Chris's Redux source for a good, moderately complete source. It's definitely better organized than most sources I've seen. You can keep at the patch it's at until you feel more comfortable with modifying the source. Then, you can upgrade / downgrade the source as you wish. It's up to you, of course. If you don't think this is worth your time, then you can always use a ****** server. Just don't expect to see it work ideally (as you've seen from this thread), and don't expect to be able to maintain those types of sources without programming experience of some type.
I'll look into redux see if I like it, I'm looking for something for personal use so bugs are not a problem because there will only be me using it, as I thought redux is like all the others based on a primitve client. Thanks but no thanks
Can't create character 06/02/2015 - Metin2 - 0 Replies # Bitte Closen! Falscher Bereich ...
Help About New create Character 01/26/2014 - Flyff Private Server - 4 Replies How to change the Spawn point of a new Character Create.
Example the original spawn point is in flaris how to change to Saintmorning or New World or custom.
Can't create Character 01/04/2014 - Rappelz Private Server - 3 Replies Hello.
At first I want to say thank you for your great help and your advices on this forum. You made me smiling after I could log into my local Test Server. Everything seems to be alright.
1. I can start without any trouble my CaptainHerlockServer, PrincessAuroraServer and UploadServer :)
2. Then I'm going to write "start_service" and "set game.open_external 1" into the Auth Server :) It also works perfectly
3. Then I'm going to open my launcher and the game starts perfectly too...
You may not create this character 01/11/2012 - Rappelz Private Server - 5 Replies I have my server up and running. I can log in to it. When i try to make a character (name doesnt mater) I get "You may not create this character" I am runing an old 6.2 client from old installer straight from galanet. the aor link is broken and I cant get that one. How do i fix this.
[Need Help]Create character 05/06/2008 - SRO Private Server - 2 Replies When im try too create a character its says , Wrong words , im try out word just numbers and its seems not works:mad:Any 1 can help me?