Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz
You last visited: Today at 12:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[guide]howto fix some crashes

Discussion on [guide]howto fix some crashes within the Rappelz forum part of the MMORPGs category.

Reply
 
Old 07/28/2011, 14:51   #16
 
RoflcopterGoesSoiSoiSoi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
Locks are the result of a stored procedure placing a lock on the data to prevent changes while the procedure is querying or updating the row. The cause of these locks is a design flaw in the coding itself. I'm not sure why it is the way it is, nFlavor must have used these files in some sort of working server at some point or another.

A deadlock happens when the SQL server enters an endless loop of requesting locked data and not being able to unlock (release) it. The gameserver crashes whenever it encounters this error.

Quote:
SHARED - This lock is applied for read operation where the data is not updated. A good example would be the select statement.

UPDATE – This locked on those resources that can be updated. This lock prevents the common form of dead lock that occurs when multiple sessions are locking the data so that they can update it later.


EXCLUSIVE - Used for data-modification operations, such as INSERT, UPDATE, or DELETE. Ensures that multiple updates cannot be made to the same resource at the same time.

INTENT - Used to establish a lock hierarchy. The different types of intent locks are: intent shared, intent exclusive, and shared with intent exclusive.

SCHEMA - Used when an operation dependent on the schema of a table is executing. The different types of schema locks are: schema modification and schema stability.

BULK UPDATE – This lock is applied when there is a bulk copying of data and the TABLOCK is applied

KEY RANGE - Protects the range of rows read by a query when using the serializable transaction isolation level. Ensures that other transactions cannot insert rows that would qualify for the queries of the serializable transaction if the queries were run again.

--
I'm sick of providing support for this via MSN/PM. Do not contact me any more. You have the cause and a small explanation, you can fix it yourself.
RoflcopterGoesSoiSoiSoi is offline  
Thanks
1 User
Old 07/28/2011, 15:05   #17
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,458
There could be a rather small amount of issues that can cause your server to lock up periodically. There is a series of questions you should ask yourself.

Is the crash triggered via an In-Game Action?
(This is why having a smaller testing crew is normally more beneficial)

Did I check the GameLog.Txt for an Error?
(Most of all Errors dealing with connections will be placed here.)

Am I hosting Aurora/Herlock and DB's on the same pc?
(Believe it or not your configuration of AS/GS/DB's can make or break your server)

Are my DB's hosted by a computer with a slower Read/Write speed?
(As the DB's need constant access to the hard drive, to R/W information, the a slow hard drive can easily be the culprit 'lag' in game.)

What may be some things you can try:

-Make sure the DB's are hosted on computer with an at-least modern HDD.
-- Host the DB's on a separate computer (HDD needs a moderately fast R/W too.)
-- Hosting with Split Configuration requires you to Port Forward but can often time dramatically reduce network lag.
-Google Nagles Algorithm
-Use a TCP optimizer which can be found at SpeedGuide.net

Why does Nagles Algorithm even matter?

TCP by default is one of the most stable network protocols. After it sends out a packet (e.g. Server to Client) it has a built in fail safe that waits for a ACK or a packet sent back by the client saying "HEY WE GOT IT"

Now this in itself can cause short delays and lag-spikes, but Nagles Algorithm was another fail-safe. Where normally tiny packets would fire of instantly for small things in-game like (movement, picking up an item, the weather changing...) with Nagles Algorithm on the server waits and gathers many of these small packets together before transmission. (MMO's expect these transmissions to be instant.) which can cause large stuttering and lag delays (often with the DB too.)

How can you tell if your PC is too slow to effectively host a Database?

1. If your computer often hangs/lags or entirely freezes when loading Sql Server Management Studio.

2. If your computer often hangs/lags or entirely freezes while navigating the Database via SSMS.
ismokedrow is offline  
Thanks
1 User
Old 07/28/2011, 15:08   #18
 
RoflcopterGoesSoiSoiSoi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
it should be noted that it's entirely normal for the server to take a while to respond when requesting large sets of records, connecting to a remote server or making the first initial connection~
RoflcopterGoesSoiSoiSoi is offline  
Old 07/28/2011, 16:36   #19
 
Uebari's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 81
Received Thanks: 17
Quote:
Originally Posted by s0ul37 View Post
I tried removing/disabling the Auction House and the Level Up Manager - but still - my server crashes in reason of "Transaction Error: Lock blabla something with lock logging".

I used this line in game.opt S game.bUseLockLogging:0 and it seemed to work for 2 hour but afterwards it started crashing. The only thing that could cause these crashes are 'i think' either the already optained items of the level up assistant or the hidden village buffs - as they get an error sometimes when buffing.
Many of the SMP Procedures have to be modified, as I did to fix the errors... You should be getting SMP issues such as smp.update_item_owner, smp.update_item, smp.update_character and so on and so forth
Uebari is offline  
Old 07/28/2011, 16:58   #20
 
s0ul37's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 687
Received Thanks: 310
Interesting, that's very useful info, thanks to all.
s0ul37 is offline  
Old 07/28/2011, 19:20   #21
 
Uebari's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 81
Received Thanks: 17
Quote:
Originally Posted by ironhammer500 View Post
Theres also a ton of dupitcated ids and item and omg tons and tons of **** in the dbs...nflavour didnt bother removing their **** lol
Well it's simply if you can't fix it don't bother running a server.
Uebari is offline  
Reply


Similar Threads Similar Threads
[Guide][ZSZC] How to fix crashes at login when using bot - Works 100% for me
02/20/2011 - SRO PServer Guides & Releases - 126 Replies
Hello everyone. I noticed many of us have problems using the bot. I was myself in that kind of situation, not being able to bot, as my game was crashing at login screen. Also, i tried reinstalling the windows -> No luck! Don't try this! What seemed to help me was this : Version 1 1. Open your ZSZC folder and delete the following files, created by the bot :
[GUIDE]Fixing SRProxy login crashes.
08/20/2010 - SRO PServer Guides & Releases - 19 Replies
Hey guys, i just found out how to login with sro-db with NO LOGIN CRASHES works 100% for me. Just follow these steps: 1) Open SRO-DB Bot: ZSZC Loader by ColdFever^NoEx 2) Open SRProxy and type the IP you want to connect (Water or Fire) and then, on the Bot Port, change from 9000 to 9500
[Guide]Using Sro-db-bot(0.8) with Silkmod together and prevent sro crashes by OwnagzZ
06/12/2010 - SRO Private Server - 34 Replies
Hey all. I will explain you today how to use silkmod with db bot :D I post the orginal thread links, since I dont want called as faker/scammer/hacker etc... Please dont spam with:"Its german cant read". Sorry but I got german computer :D Tools we need:- -Silkmod
[GUIDE] Running Silkroad without errors/crashes/DC
04/01/2008 - SRO Guides & Templates - 14 Replies
I havent played Silkroad for the last 5 days because i had every 2 min dc/crash or my game froze. Now I got a solution which works for me. I hope it works for everyone here because its so annoying to have errors and crashes all the time. So give it a try :) Here we go: - Start Silkroad (and your bot if you want) - When you logged on, Alt-Tab to Windows - Press Ctrl+Alt+Delete - Go to Processes - Search for sro_client - If you find it, click with your right mouse button on it



All times are GMT +2. The time now is 12:23.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.