Jump to content
  • 0

[Help]Rollback


Question

Posted

Hi guys

I have freya server and i have rollback problem..i'm sure about it cause my friend logged in my server and i recalled him i gave him lvl and i restarted my server..then when my friend logged in he was lvl 1 in orc village pls help me!  :( :o

Recommended Posts

  • 0
Posted

u closed login and game server from outside the game

 

u have to do it inside

 

by using //server_shutdown?

Show me your startGameServer.bat.

 

@echo off

title Game Server Console

:start

echo Starting L2J Game Server.

echo.

REM -------------------------------------

REM Default parameters for a basic server.

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

REM -------------------------------------

if ERRORLEVEL 2 goto restart

if ERRORLEVEL 1 goto error

goto end

:restart

echo.

echo Admin Restart ...

echo.

goto start

:error

echo.

echo Server terminated abnormaly

echo.

:end

echo.

echo server terminated

echo.

pause

  • 0
Posted

Well, I remember, my server always crushed and got rollbacks, because my java runned out of RAM.  :)

 

now what can i do?

  • 0
Posted

Strange. Your java specs also looks great.

Your server doesn't got crushed, that means.

 

so what can i do to fix rollbacks?

  • 0
Posted

Verify content of Shutdown.java, about what is saved. You can check also derivated methods, such as saveCharToDisk(), store(), storeCharBase(), and so on.

 

Normally basic stuff such as character saving is made on storeCharBase(). Verify if the related SQL query (named "UPDATE_CHARACTER" normally) save all essential infos.

 

You can debug it too putting some log.warning(""), to track if save is correctly made.

  • 0
Posted

Verify content of Shutdown.java, about what is saved. You can check also derivated methods, such as saveCharToDisk(), store(), storeCharBase(), and so on.

 

Normally basic stuff such as character saving is made on storeCharBase(). Verify if the related SQL query (named "UPDATE_CHARACTER" normally) save all essential infos.

 

You can debug it too putting some log.warning(""), to track if save is correctly made.

 

where can i put this?

  • 0
Posted

Well don't hope to resolve such issue if you got 0 knowledge about java.

 

Use Eclipse search tool to find methods I gave names, and compare in a first time with actual L2J. If all is fine, try to put on those methods some log to debug it (just test1, test2 are enough to see if methods are correctly reached).

 

Btw update to latest Freya, and eventually post a ticket to L2J directly if you use already the latest.

  • 0
Posted

Well don't hope to resolve such issue if you got 0 knowledge about java.

 

Use Eclipse search tool to find methods I gave names, and compare in a first time with actual L2J. If all is fine, try to put on those methods some log to debug it (just test1, test2 are enough to see if methods are correctly reached).

 

Btw update to latest Freya, and eventually post a ticket to L2J directly if you use already the latest.

 

lol man of course i know something about java -_- i already compiled my server and used lot java codes..but i never had rollback to all my servers so didn't saw this problem till now..so that's why i'm asking about fix for rollback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • 🚀 MoMoProxy Static Residential Proxies For Sale!     🔹 Stable, secure & high-anonymity 🔹 >10Mbps speed, <10ms latency 🔹 99.99% uptime & static IPs 🔹 Unlimited traffic & connections 🌍 30M+ clean residential IPs ✅ Whitelist & user/pass auth 💳 Flexible plans (7/30/90 days) 💰 From $3/IP (Pay-per-IP) 🔥 Perfect for: ✔️ Ad verification ✔️ E-commerce/social media ✔️ Data scraping ✔️ Anti-detect browsers 🆓 Start free trial today! 🔗 [Insert Link] #Proxy #ResidentialProxies #WebScraping #DigitalMarketing   1/ Why Choose MoMoProxy? ✅ Global ISP network (30M+ IPs) ✅ Dedicated dashboard for easy management ✅ 24/7 stable operation ✅ HTTP(S)/SOCKS5 support 2/ Use Cases: 📊 Ad fraud detection 🛒 Sneaker copping & e-com 📱 Social media automation 🌐 Travel aggregation & more! 3/ Get Started in 4 Steps: A. Pick MoMoProxy B. Grab your IP credentials C. Configure your tool D. Enjoy unlimited sessions!   https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies    
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Special offer until end of the month, don't lose it. 250  include datapack and patch latest.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...