Jump to content
  • 0

[REQUEST] AUTORestart


Question

Posted

i want to help a friend to put autorestart to his server....can anyone help me?? and also the system which makes u not to blame such us F***K and chat ban u automatically....

 

ty...

15 answers to this question

Recommended Posts

  • 0
Posted

INSERT INTO global_tasks ( id , task , type , last_activation , param1 , param2 , param3 ) VALUES ('', 'restart', 'TYPE_SHEDULED', '0', '43200000', '', '');

 

 

we are on L2OFF Section not L2J !!

 

//ontopic i dont know ..

  • 0
Posted

i found this :

This is a open-source contribution from isoGames to other wonderful server admins that contribute to this open source community. We share with the intention that others will continue to share.

 

Code:

 

http://www.content-type.com/1874131891/l2reset.rar.htm

 

The following resources will assist you in creating a auto-restart system for your Lineage II server services. The system is designed so that each part of the Lineage II system services can be started & recovered in a certain sequence, with delay for certain services as well as toggling of the Windows Firewall so players cannot access the server until it is finished loading.

 

The system operates on the isoGames servers and allows for the completely unattended running of a Lineage II server system.

 

Upon installation, you will probably need to change paths and perhaps startup delays to match your own unique server configuration.

 

Requirements

[1] Windows 2003 Server (not tested on 2000)

[2] Administrator, Remote Desktop Access

[3] Firedaemon Service Manager

[4] Common Sense

 

Get the 1.6 Firedaemon version at;

Code:

 

http://www.content-type.com/1604992254/FireDaemon.Pro.v1.6.rar.htm

 

Tools & Software Included

SRVRST.EXE

Console application that externally monitors the Lineage II service to make sure it is running. If it doesn't respond, it initiates a restart.

 

The application is a simple console application that accepts command line arguments. Running the application will print out the arguments it accepts. You can set the name of the service, how often in seconds you want it to check, and also you can even force it to restart no matter what after X seconds elapse. For instance, if you wanted to initiate an auto restart every 24 hours, you can set the seconds to 86400 and add the force restart command line option. The application can be run in multiple instances.

 

firewalld.bat

Closes the port that players connect through so the server load does not crash the game server while NPC is loading. Called by the "lineage" service before it starts up.

 

firewalls.bat

Starts the firewall deactivation service.

 

L2CACHED.xml

Service XML for Cached - used to create the windows service through firedaemon for easy setup. Points to cached.exe

 

l2reset.bat

Called when the lineage game server crashes or is restarted by the external monitoring binary. Stops NPC server. Called by the service "lineage" at service shutdown.

 

l2restart.xml

Service XML for external monitoring binary - Points to srvrst.exe

 

l2walloff.bat

Opens the port to allow players to connect. Called by service "l2walloff" and is set to have a pre-launch delay of 350 seconds.

 

l2walloff.xml

Service XML for batch file - Points to l2walloff.bat

 

lineage.xml

Service XML for "lineage" service - points to l2server.exe

 

lineagenpc.xml

Service XMl for "lineagenpc" service - points to l2npc.exe

 

Installation & Configuration

Special Connection via Remote Desktop

We run our lineage services as interactive windows services. This means that they are running as services, but you can see the applications running if you logon as the "Administrator" via the MSTSC console rather than the normal remote desktop. Logging on in this fashion will allow you to see the desktop as it would appear as if you were actually in front of the machine.

 

Logging on any other way through remote desktop will not give you access to see the application. Replace the text "host" in the directions below with the host name or ip address of your server box.

 

 

 

[1] Start->run

[2] mstsc /v:host /console

[3] OK

 

Copy & Extract Files

All files in this distribution are meant to be placed within the parent directory of your Lineage II executables. In other words, if your L2 server is in a location like D:\server\l2server.exe you would want to place the auto restart files in D:\

 

Install Firedaemon

Firedaemon is a great tool to make standard executable programs run as windows services. You can do allot with it, and is the only way to go when it comes to running your lineage services as windows services.

 

http://www.firedaemon.com

 

Consult the Firedaemon documentation for complete functionality and install procedures, but note that isoGames uses Firedaemon 1.6 rather than the new version 1.8 that you will end up using. The application looks slightly different but is mostly the same between the two versions. You will need to do your best in viewing our screen shots and applying them to the new version of Firedaemon.

 

Oh... and yes my nick is Firedaemon... they stole it from me I swear!

 

Installing Services

Open Firedaemon and click the "New Service Definition" icon.

 

 

 

Next, click the "Open a Service Definition File" and open "L2CACHED.xml"

 

 

 

 

 

 

 

Change your paths to the files if they differ from ours and then click install and then repeat the process for each additional xml file.

 

After you have each one imported, it should like the following;

 

 

Now, if all your services are in the stop state, simply start the "l2 restart monitor" and it will trigger the startup process of all the other services.

 

Also, since you are logged on as the Administrator under MSTSC, you will see the applications launch.

 

Note About Desktop Heap

If you are running Windows 32 Bit versions, there is an issue with Desktop heap that may or may not effect you. Windows 32 bit version only allows a maximum of 48MB to be shared between all desktops, including windows services. We have the services to run interactively with some, and non-interactive with others in order to spread out the usage of the desktop heap. Desktop heap can be a real **** and sometimes you may have to hack the registry to change the heap that is assigned to interactive and non-interactive desktops. You should not have a problem though with this config unless you have allot of NPCs with [names] longer than 16 characters. If you find you have desktop heap issues, just let me know and I can try to help you out with some advice.

 

Credits to

Firedaemon

 

I hope to helped you

  • 0
Posted

Its a good guide ... but the links doesnt work .. so no comment to be posted here ...

  • 0
Posted

i just copy pasted it ! i didn't checked the link's ! so about that but it was fast to help black jack !

i will check about link and if i found the solution i will fix it !

wait in advance

  • 0
Posted

Loipon black jack

 

3 posts stin seira kai akoma pio panw 2 posts stin seira

 

-1 karma

 

kala kaneis den vlepei ta 3 sinexomena post ?ante re paidia

8a mporouses na ton kaneis report.8a to parw san spam auto p ekanes,pare to san warning auto p s lew  ;)

  • 0
Posted

8a mporouses na ton kaneis report.8a to parw san spam auto p ekanes,pare to san warning auto p s lew  ;)

 

8a mporouse na to kanei...alla 8ewrw to warning kommataki uperboliko s auto to topic gia touto to user(btw exei ginei report auto hdh opote akuro warning)

 

 

sto 8ema twra me aplo search

 

http://www.maxcheaters.com/forum/index.php?topic=8133.msg58979#msg58979 :o :o :o

 

(search criteria/word: "autorestart")

 

k opws lew sto description -1karma oxi gia ta 3 post sthn seira alla gt den epsaxse h dn rwthse kapoion na ma8ei h na tou exshghsei k probainei se tetoies blakeies!

 

kala kaneis den exei kati p na borw na kanw autorestart ton server 2 fores tin mera p.x.?? ade re paidia help

 

topic locked

 

 

 

 

 

Guest
This topic is now closed to further replies.


  • Posts

    • Trust and Honesty   We don’t need to brag - what matters is that you actually feel the service works the way it should. No surprises, no stress. With Vibe SMS, you can focus on your tasks knowing everything runs smoothly. Like having a friend by your side calm, reliable, and without unnecessary words.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • The old Trances packs were built using Java 7, which is outdated. Our server is running on the latest Java version, fully up-to-date for 2025
    • Experience L2Gold like never before – available ONLY on Saturdays & Sundays! Custom Armors: Dynasty, Apella Custom Weapons: L2Gold Weapons Custom Jewelry: L2Gold Jewelry Custom Teleport System & AIO Buffer Custom Zones, NPCs & Raidbosses This is not just another private server – it’s a limited-time battleground for the ultimate L2 experience! Play only on weekends Website: https://l2kandra.online/ Info & Contact: https://www.facebook.com/profile.php?id=61578869175323  
    • 突发新闻! Twitter Premium(推特高级版) 现以优惠价发售!立即尝试 — 限时优惠! ➡ Twitter Premium X 订阅(适用于您的推特账户),可选 1 个月 / 1 年(任选)。需要登录授权您的推特账户。价格:每月 $7–13(每年 $75) ➡ Twitter X Premium Plus 订阅 + GROK AI 助手(适用于您的推特账户),可选 1 个月 / 1 年(任选)。需要登录授权您的推特账户。价格:每月 $48–55(每年 $480) ➡ 2010–2023 年老推特账号,带蓝色认证标志(Tier 1/2/3 国家)| 提供完整访问权限(含登录名、密码和令牌)| 价格:起价 $9 ➡ 2010–2023 年老推特 NFT 账号,带蓝色认证标志(Tier 1/2/3 国家)| 提供完整访问权限(含登录名、密码和令牌)| 价格:起价 $9 ➡ 2010–2023 年老推特账号,带蓝色认证标志 + 真实粉丝(100–20000,可自选)| Tier 1/2/3 国家 | 提供完整访问权限(含登录名、密码和令牌)| 支持补充:30+ 天 | 价格:起价 $9.5 ➡ 2010–2023 年老推特账号,带广告管理器(ADS Manager)和蓝色认证标志,并绑定信用卡 | 区域:Tier 1 国家 | 提供完整访问权限(含登录名、密码和令牌)| 价格:起价 $35 您可以在我们的网站商店或通过 Telegram 机器人购买! ➡ 数字商品商店(网站):前往 ➡ 商店 Telegram 机器人:前往 ➡ Telegram Stars 购买机器人:前往 ➡ SMM 面板:前往 – 推广您的社交媒体账户。 我们为您呈现最新的优惠与特别活动,用于购买我们平台的商品和服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月于我们的网站或机器人中购物!首次购买还可使用优惠码 SOCNET(15% 折扣) 2. 注册后在我们网站的论坛主题中按以下格式留言,即可获得 $1 商店余额或 10–20% 折扣:"SEND ME BONUS, MY USERNAME IS..." 3. 首次试用 SMM 面板即可获得 $1:只需在网站支持中心提交标题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道与 Telegram Stars 购买机器人每周举行 Telegram Stars 抽奖活动! 新闻资讯: ➡ Telegram 频道:https://t.me/accsforyou_shop✅ ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord 服务器:https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram:https://t.me/socnet_support✅ ➡ WhatsApp:https://wa.me/79051904467✅ ➡ Discord:socnet_support ✅ ➡ ✉ 邮箱:solomonbog@socnet.store ✅
    • Breaking News! Twitter Premium now available at a discounted price! Try it right now — limited-time offer! ➡ Twitter Premium X subscription for your Twitter account for 1 month / 1 year (your choice). Requires login authorization to your Twitter account. Price from: $7–13 per 1 month ($75 per 12 months) ➡ Twitter X Premium Plus subscription and GROK AI assistant for your Twitter account for 1 month / 1 year (your choice). Requires login authorization to your Twitter account. Price from: $48–55 per 1 month ($480 per 12 months) ➡ Old Twitter Accounts 2010–2023 with BLUE Regular Tick (Tier 1/2/3 countries) | Full access with Login, Password, and Token included! | Price from: $9 ➡ Old Twitter NFT Accounts 2010–2023 with BLUE Tick (Tier 1/2/3 countries) | Full access with Login, Password, and Token included! | Price from: $9 ➡ Old Twitter Accounts 2010–2023 with BLUE Regular Tick and real followers: 100–20000 (followers of your choice) | Tier 1/2/3 countries | Full access with Login, Password, and Token included | Refill: 30+ days | Price from: $9.5 ➡ Old Twitter Accounts 2010–2023 with ADS Manager and BLUE Regular Tick linked with Credit Card | GEO: Tier 1 countries | Full access with Login, Password, and Token included | Price from: $35 Shop in our online store or through our Telegram bot! ➡ Digital goods store (Website): Go ➡ Store Telegram bot: Go ➡ Telegram bot for purchasing Telegram Stars: Go ➡ SMM Panel: Go – promote your social media accounts. We would like to present you with the latest list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) in October! You can also use the first-time promo code SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket with the title “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop✅ ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord server: https://discord.gg/y9AStFFsrh✅ Contacts and Support: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ Email: solomonbog@socnet.store ✅
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock