- Joined
- Oct 29, 2024
- Messages
- 5
- Thread Author
- #1
Small note this from what ive seen will work on ubuntu higher than 20.04 this you just need to make sure this is added or your gacd will crash. apt-get install libpcre3-dev libpcre3
Panel now does 151 153 and 155
Ok so now the panel is completely automated too you will find your password and user in /root panellogin.txt if anyones forgetting the sql user and pass is also here in mariadb_admin_credentials.txt
Installer will now do hrace's panel as well. It also no longer has different scripts for the separate os's select your server version it auto detects your os and runs the right one same with panel. 3 scripts is much easier to keep track of than six and adding os detection means you cant accidentally hit the wrong one.
NOTE AS IVE SAID BEFORE THIS SHOULD BE DONE ON A CLEAN INSTALL IF YOU RUN IT ON SOMETHING EXISTING AND BORK IT NOT MY FAULT!!.
Oh if you need to contact me you might try discord at " sinfulstoic" Please dont spam me but if you wanna talk shop or have a real issue ill try to help. (Ok so completely randomly on certain hosts it just wont import the db at all on the rhel os's if you are having that issue even after trying again either manually do the db or use the ubuntu installer which seems to work on all hosts after the previous fix i made. )
( TYPE CD / HIT ENTER HAD A GUY EARLIER DOING THIS AT THE MAIN DIRECTORY IT WILL NOT PUT THE FILES IN THE RIGHT PLACE )
Get and run the installer.
Ok so this should be my final installer it combines both of my scripts so i can consolidate support makes several improvements and provides a proper selection menu. On the RHEL OS'S you may need to run dnf install wget before running the commands below. Some of them have wget pre installed others dont.
to get it.
Code:
cd /
wget http://havenpwi.net/installs/universal.sh
chmod 777 universal.sh
./universal.sh
Thats it!! you guys wanted it fully automatic sit back and have a coffee. You can find your db credentials in the /root folder in maridadb credentials txt
Run to start the server
Code:
cd /home; chmod 777 chmod.sh; ./chmod.sh ( for 155 its just ./server start the chmod process is part of the script)
./server start
to start the maps in 151 you need to run ( or install my pwadmin for this)
Code:
cd /home/gamed; ./gs gs01
cd /home/gamed; ./gs is62
151 Use This Client ( will need to turn off real time protection before installing the exes are old and windows 10 and up detect them as insecure. ) you can add exceptions for these two files then renable if you like. )
153 Client same as the 155 fix it with starbypatcher
155 use this client ( for 155 go to elementclient.exe make a shortcut and make the last part of target look like this
Code:
elementclient.exe" startbypatcher
In patcher/server edit serverlist.text like mine but with your info.
Code:
Server 1
[Havenpw - PvE] Tyrael 29000:havenpwi.com 54
Then
updateserver.text
Code:
"[EN]Patch-1" "http://havenpwi.com"
Oh to register go to YOURSITE/register.php
pwAdmin if you want it. ( tested specifically for 151 does not work for 155 has an error where it cant start auth im working on it)
Now this was the fun part I am going to help you setup pwAdmin I refreshed the noob script sora1984 made. (Note hold off if you did 155 im not sure this one will work its heavily modified for the 151 files ill get one tested and fixed for 155 though i think the stock 151 pwadmin should work for 155? if someone tests before i get to it let me know.
original thread
Run this
Code:
From cd /
wget http://havenpwi.net/downloads/pwadmin.sh ( you can try to download but it usually borks the file.)
chmod 777 pwadmin.sh
./pwadmin.sh ( This will install pwadmin tomacat9 and set file permissions)
Code:
use the same commands as above but with this link for pwadmin 151 wget http://havenpwi.net/downloads/pwadminrocky.sh
command to restart tomcat
systemctl restart tomcat
you need the above command cause it wont load till you restat tomcat
Now just fix the config file. Some servers hide the file if you want it easy get the file HERE and add your sql info (also change your password with the tutorial below oh for somereason the download changes the file name may need renamed to .pwadminconf.jsp)
Then place it in var/lib /tomcat9/webapps/pwAdmin/WEBINF just override the old one. Alot of the addons are broken but everything thats important works fine. i may make fixes in the future.
You also need to change your root password in this file.. if you dont most of the time it wont login. The setting for this is at the top of the file. ( it will cause i prechanged it if you are lazy its "admin"
Code:
// pwadmin access password as md5 encrypted string
// default password is[B] root[/B] -> [B]21232f297a57a5a743894a0e4a801fc3[/B]
String iweb_password = "[B]21232f297a57a5a743894a0e4a801fc3[/B]";
The bolded word root is your password. The bolded string of numbers (63a9f0ea7bb98050796b649e85481845 )is the md5 hash This has to match like it does above. Decide what your password is going to be and change root to it. Then go here though any generator will work and type your new pass in to get the md5 hash remember to replace both of the bolded hashes with the new one.
Note a work around for viewing and editing other peoples chars is to use the addons tab and use gm control open one of the gm chars. Then look in the nav bar you will see their user id in the link change it to the char you wanna view and hit enter itl open that character. Other wise in order to fix the characters tab you will need to do the following.
You should also hit the synchronize option under the characters tab.
Contributors
Ill credit anyone whos scripts help me or who contributes directly here in the future.
Of course hrace009 the creator of the panel installer. I am just facilitating an easier install.