Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 13:22

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

Advertisement



Fix for character HP bug

Discussion on Fix for character HP bug within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 88
Received Thanks: 25
Fix for character HP bug

Heres a little something that i made up. My GM character lvled up and hit the HP bug so i made this so that should anyone else hit this bug Wouldnt require u to have to go into the database and manually lower the stats and all. Just remeber that it is not perfect considering everything that u have equipped. the database tells u the base HP before equipment. So play with it just a little till u get it just right for ur server

UPDATE dbo.user_character
SET wCon = 2000, nHP = 58000
WHERE (byPCClass = 0) AND (nHP >= 65000) AND (wCon >= 2000);




Remember tho that u must set it as a job like the auto reborn and make sure that u set it for each of the character classes that u have in ur server. Have it run everyminute becuase u dont wanna make someone have to wait a full day or once a week if they get bugged. I hope that this helps u like it is me.
twiggy345 is offline  
Old 09/10/2009, 11:15   #2
 
Zombe's Avatar
 
elite*gold: 20
Join Date: Dec 2007
Posts: 1,451
Received Thanks: 840
A little explanation on this:

Code:
UPDATE dbo.user_character
SET wCon = 2000, nHP = 58000
WHERE (byPCClass = 0) AND (nHP >= 65000) AND (wCon >= 2000);
1: Your script works on AK only, because of (byPCClass = 0).
2: You don't need to set the HP, because it automaticly adjusts itself according to the constitution, so changing it manually can actually bug ut char.
3: In your script, you use more or equal in (wCon >= 2000), and if that is true, you set it to 2000 ,and basicly that matches the wCon >= 2000 again, so it is like a never-ending procedure, thus it causes lag.

So I would use this:

Code:
UPDATE dbo.user_character 
SET wCon = 2000
WHERE (wCon > 2000);
Much simpler, and less bugged, I should say... Still, credits to you for the idea to fix the bug ^^
Zombe is offline  
Thanks
1 User
Old 09/10/2009, 15:15   #3
 
҉ THT ҉'s Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 912
Received Thanks: 250
you can have 64K HP b4 you get that bug,
҉ THT ҉ is offline  
Old 09/10/2009, 16:41   #4
 
elite*gold: 0
Join Date: Aug 2008
Posts: 88
Received Thanks: 25
Quote:
Originally Posted by Zombe View Post
A little explanation on this:

Code:
UPDATE dbo.user_character
SET wCon = 2000, nHP = 58000
WHERE (byPCClass = 0) AND (nHP >= 65000) AND (wCon >= 2000);
1: Your script works on AK only, because of (byPCClass = 0).
2: You don't need to set the HP, because it automaticly adjusts itself according to the constitution, so changing it manually can actually bug ut char.
3: In your script, you use more or equal in (wCon >= 2000), and if that is true, you set it to 2000 ,and basicly that matches the wCon >= 2000 again, so it is like a never-ending procedure, thus it causes lag.

So I would use this:

Code:
UPDATE dbo.user_character 
SET wCon = 2000
WHERE (wCon > 2000);
Much simpler, and less bugged, I should say... Still, credits to you for the idea to fix the bug ^^

THis is the first script that i have ever made for the database so thank u for helping me point out the possible bugs (it was 2:00Am when i did it lol)

I will make the adjustments. but you have to set a step for every character in the job. there will be a total of 7 steps to this one job.
twiggy345 is offline  
Old 09/10/2009, 17:18   #5
 
elite*gold: 0
Join Date: Oct 2008
Posts: 266
Received Thanks: 96
you just need made a GM ring
with the 999999999 HP recovery and you done...
theoners is offline  
Old 09/10/2009, 18:04   #6
 
Bigshow107's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 700
Received Thanks: 228
Quote:
Originally Posted by theoners View Post
you just need made a GM ring
with the 999999999 HP recovery and you done...
well these is not a solution
since there alot pserver with high stats (RB server )
so ppl can't get more then 2k heal cuz there will be a bug
but thanks to zombe and twiggy most fixed now ( i will check it then tell u what)
Bigshow107 is offline  
Old 09/10/2009, 21:59   #7
 
elite*gold: 0
Join Date: Aug 2007
Posts: 554
Received Thanks: 136
yeah this makes someone having to rewrite the dekaron.exe obsolete.. unless tehre bored that is.
xfactorbowler is offline  
Reply


Similar Threads Similar Threads
WTT iSRO(RedSea)lvl 106 character for rSRO Artemis character!
09/07/2010 - Silkroad Online Trading - 10 Replies
Hey guys/girls, I want to trade my lvl 106 rogue/bard on RedSea server. Rev6.com - The 6th Revolution Character information: -name : SrO_Diabolik -build : rogue/bard full STR -skills : rogue/bard lvl 106 with skills up to date with about 250 k sp left -items:+2 +3 items with blue,101+5 dagger crit 18,shield 101+5 br 18 -never banned
WTT Cabal EU Character for Dekaron EU Character
08/29/2008 - Dekaron Trading - 6 Replies
WTT Cabal Force Archer for Dekaron EU Bagi Warrior / The two blade race (i don`t know the name) / Dils Cabal Character Details : Force Archer Lvl : 83 Ranks : Grand Master (50 skills and Completer)/ Appretience(almost Regular) All Skiils Bought Quests from 60+ are not done because of skilling at dark bladers so from lvl 64 i made 83 by skilling Class Rank : 9
WTT Cabal EU Character for Dekaron EU Character
08/23/2008 - Dekaron Trading - 2 Replies
WTT Cabal Force Archer for Dekaron EU Bagi Warrior Cabal Character Details : Force Archer Lvl : 83 Ranks : Grand Master (50 skills and Completer)/ Appretience(almost Regular) All Skiils Bought Quests from 60+ are not done because of skilling at dark bladers so from lvl 64 i made 83 by skilling Class Rank : 9



All times are GMT +1. The time now is 13:24.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.