[GUIDE]Server sided problems? Come & Ask.

03/28/2015 03:35 Royalblade*#16
Quote:
Originally Posted by Apollo* View Post
What about c++ error's? on SR_GameServer why many people got that error ?
i meant it closes when starts that's not what i need to explain extacly when Gameserver runs perfect after 5-10 h or 2-3h it going to down randomly wanna know why we and another person got that shit.
Quote:
Originally Posted by Leonius* View Post
How can i improve my queries performance? xD especially in update,select,insert statements.



There are many possible solutions, i will write some of them below.
1st:-It is probably buffalo cos trade pet, it is bugged in many vsro based servers.
1st fix:-I usually fix it by removing it xD
2nd:- Your grab pets have 5 pages or higher.
2nd fix:- Set them to below 5.
3rd:- Buffalo cos transport bugs a character when this char teleports to alexandria and crashes it, and whenever the char tries to login again your gameserver will crash/ popup a c++ error.
3rd fix(1) :- fix buffalo inventory size, level through _refobjchar and chardata_xxxxx
3rd fix(2)(temporary fix):- remove buffalo

I have had this problem before and i did everything above to get it working, and it worked, yea it did[after fixing the bugged characters]
Quote:
Originally Posted by Apollo* View Post
None of them is not.
The C++ error simply means that there is an unhandled error. Usually its a "logic" error inside the GS.

However, it can be a memory overload as well, or simply tons of OTHER things.
Memory overload: Change your gameserver.exe file. A few of the gameservers which are floating around have issues. I can't tell you WHAT kind of issues they have, might be a memory leak or just things not being cleaned up. srZor version X has this problem...

The issues Leonis can be reasons, too.

I would suggest that you fix up any startup errors first, then fix the general errors inside the gameserver log. Afterwards, add a delay at transport pet spawning (_AddNewChar, HINT: COS_T WAITFOR DELAY '000:00:01' - Thieves will be able to easily spawn transport pets inside the town using a known walk-spawn "bug")

You should also decrease the maximum pet inventory size to 4 pages. If you had 5 pages before, clean up _TimedJobForPet /Cos whatever it was called.

I haven't had a GS C++ error in the last 1.5 years not even with 4K players. So I can't tell you more about it.

If you had any startup c++ errors.. There can be around 6 million reasons for it.
To find & fix those errors, I can recommend these two tools: [Only registered and activated users can see links. Click Here To Register...] & [Only registered and activated users can see links. Click Here To Register...]

If you want to find real solutions, you have to give me more information.
03/28/2015 08:50 Aaron*#17
what about my question?^ After sending you one of the queries i wrote you said it will take ~35 ms or less/higher i can't remember, so it is useless.
03/28/2015 08:56 WickedNite.#18
C++ errors happen mainly on windows 2012, also the buffallo exploit or having too many regions enabled that are using all of your memory.

I've never had C++ issues while I used 2008 r2 enterprise.
03/28/2015 09:14 thebigbody#19
Quote:
Originally Posted by TheWickedNite View Post
C++ errors happen mainly on windows 2012, also the buffallo exploit or having too many regions enabled that are using all of your memory.

I've never had C++ issues while I used 2008 r2 enterprise.
i use windows 2012 and all regions are enabled - of course i have all maps - and i never got this C++ error
PS : i disabled trade system :D
03/28/2015 11:12 ​Exo#20
Quote:
Originally Posted by Leonius* View Post
what about my question?^ After sending you one of the queries i wrote you said it will take ~35 ms or less/higher i can't remember, so it is useless.
You shouldn't care about the performance just yet, keep reading and exploring msdn until you reach some point, eventually, your performance will increase by reading what every keyword is doing. Also, the formation of your question won't get you anywhere, the best way to learn is to compare the codes, if he has time maybe, ask him to optimize your code then, compare both of them and you will see the difference and maybe learn something from them.
03/28/2015 12:38 zizoelnigm#21
no man there is no, also i mean when the new chars buy pets and used got this problem.....
03/28/2015 15:35 thebate1#22
OnSR_ENTERGAME_ACK() - An error returned from GAMESERVER [____Sony____ >> error_code: 22]
OnSR_ENTERGAME_ACK() - An error returned from GAMESERVER [SoulWar >> error_code: 23]


why my serve rget this 2 errors????
03/28/2015 15:49 zizoelnigm#23
check this chars
03/28/2015 15:57 Royalblade*#24
Quote:
Originally Posted by thebate1 View Post
OnSR_ENTERGAME_ACK() - An error returned from GAMESERVER [____Sony____ >> error_code: 22]
OnSR_ENTERGAME_ACK() - An error returned from GAMESERVER [SoulWar >> error_code: 23]
why my serve rget this 2 errors????
Just tell those two chars to login again. It should've simply been a temporary error.

Quote:
Originally Posted by Leonius* View Post
what about my question?^ After sending you one of the queries i wrote you said it will take ~35 ms or less/higher i can't remember, so it is useless.
Explain exactly what you wanted to do, I'll write you an example quickly.
03/28/2015 17:08 ILowe#25
Hello

[Only registered and activated users can see links. Click Here To Register...]

now error No bridge
03/28/2015 17:29 ​Exo#26
Quote:
Originally Posted by ILowe View Post
Hello

[Only registered and activated users can see links. Click Here To Register...]

now error No bridge
Code:
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	389.999	0	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	200.999	0	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	60.999	-0.05	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1

1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	815.000	-70.038	806.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	700.000	-70.038	687.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	590.000	-70.038	580.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2

1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	400.000	-70.038	1789.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	222.000	-70.038	1783.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	52.000	-70.038	1780.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
sry akasch ;(
03/28/2015 17:32 Royalblade*#27
Quote:
Originally Posted by Exo View Post
Code:
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	389.999	0	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	200.999	0	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	1797.000	-70.038	60.999	-0.05	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#1

1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	815.000	-70.038	806.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	700.000	-70.038	687.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	590.000	-70.038	580.000	-0.78	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#2

1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	400.000	-70.038	1789.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	222.000	-70.038	1783.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
1	res\bldg\arabia\bagh_city\bagh_city_bridge02.bsr	247	124	52.000	-70.038	1780.000	-1.5445	0	3	FORTRESS_BIJEOKDAN	// Garden Bridge#3
sry akasch ;(
haha stole this from my client? :p
03/28/2015 17:51 Eslam Galull#28
Quote:
Exploits & Protection
- i know how exploits works ..etc but i wonder that there is a special packets make overflow

so my question " is any packet flood cuz that or only the released packets .. For ex. if we take the login packet that sending the account informations and start flood agent with it .. that will cuz the same effect ?"

regards
03/28/2015 18:22 ​Exo#29
Quote:
Originally Posted by Royalblade* View Post
haha stole this from my client? :p
[Only registered and activated users can see links. Click Here To Register...]
03/28/2015 19:03 MR ! HЄRO#30
SR_GameServer error

some screen shot


[Only registered and activated users can see links. Click Here To Register...]

And Shard

[Only registered and activated users can see links. Click Here To Register...]