- Joined
- Jan 22, 2012
- Messages
- 541
- Reaction score
- 211
Link to my auto installer for the 151 and 155 servers.
Also if you can afford it there are two paid replacements for the tools below pwadmin available here ( there is a cracked version floating around) but the dev is
This however i will never use anything else for editing npcs and data again its called Rae and can be bought
I of course will be updating the links for the free tools too.
file back up links here if one goes down. If one in the guide goes down let me know so i can fix it please.
Also if you have any of the files I need in the tutorial sections after server install let me know.
Look whos back again friends and im updating this.. This one done on 20.4 Ubuntu Focal Fossa I am sure itl work on the version after but beyond that who knows someone will have to test.
Compiled server setup guide.
Disclaimer: Notice to all users. I have attempted to credit everyone who's material was used in this guide. None the less I have gone over a large amount of material and downloaded gigs of scripts. If you see something that is yours and want to be credited in the guide. Let me know via pm and send me a link to the original thread where you submitted it and I will get you added in a timely fashion.
Ok most of this content is not my own and I will be crediting the various authors where their content has been used. The purpose of this guide is to simplify installing a 1.5.1 perfect world server. I spent several days searching stuff and I would like to hopefully save a few people the trouble.
Basics
Ok some basics before you start. Number one dont edit files like .sh and such for a linux server with a windows text editor it messes with the encoding and a lot of the scripts wont run wen you save them. I use
Installing the server
Step 1 install mysql and phpmyadmin IN THAT ORDER
Now you wont be able to do phpmyadmin remotely or login without this fix. SSH to your server then run mysql
Once inside sql run the following subbing root and mynewpassword for your info though on one distoro i tried this didnt work if it wasnt root so be warned
Now run this paying careful attention to the prompts especially the one about remote logins
After this go ahead and put the pw database in which you can get
Now lets finish up you still need a few packages.
download this in your main directory
wget
Download and edit your server files make sure you are in cd / first.
Note the k variable is important there is a host file in here that can and will overwrite the one on your server and mess it up ill link the file because youl need to open it up and add it to your existing one. it will say it exited with failure because of that one file but its fine just combine the two host files after.
hosts file is in etc folder this part always makes me paranoid so i like to reboot after to make sure everything is good.
Now edit table.xml in the etc folder and add your user name and pass to the end of this line.
Now go into whatever your public directory is www or html usually and copy the files in
Edit register.php with your database and username and pass.
Now execute this and if all goes well your server starts. You can try 775 but it varies from distro to distro if it will start since i know someones gonna cry lol!!
Used to have a file to run all of these but ill have to remake it for now we can old school it to start the tutorial zone and wold map.
you can go to yourdomain/register.php to make an account also i just remembered theres a setting for how much gold to give on registration in register.php.
Using this client I had no issues make sure you update the file serverlist in element/userdata/server mine is a bit trimmed down but I will post examples. just change my links for yours. I recommend editing the stock one just so you get to learn. Also edit the patcherfiles serverlist and update server in patcher/server before launching .. Do not run it before doing this even if you close it before it finishes the first file loaded will cause you to get a version too low error.
element serverlist will look like this
the patchers
serverlist
updateserver
Ok from here on disclaimer this is mostly my old info i need to touch up from here find tools get rid of out dated ones the info is probably good though still.
pwAdmin
Now this was the fun part I am going to help you setup pwAdmin I refreshed the noob script sora1984 made.
original thread
Get and run pwadmin installer.
Now just fix the config file. Some servers hide the file if you want it easy get the file
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"
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. ( I already changed it in mine "admin " will log you in id still change it )Decide what your password is going to be and change root to it. Then go
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.
Gm/debug
The gm console can be reached in game by holding ctrl and pressing G
the debug is reached by holding shift and pressing ~
if you need gm without having pwAdmin setup you can do this like so.
Original content by segredu
original thread
Add GM and Cubi-Coin in MySQL database
1- Open your browser with http:// server IP /phpmyadmin/
2- Select your pw database and select SQL tab
3- ID code code (change 32 for your Char ID) in the codes below and click Execute/submit
ADD GM
ADD 10.000 CUBI-COIN(Zen/CS gold)
Gm Console commands Original guide by Bryanek
Original thread
GUIDE - HOW TO USE GM CONSOLE - PERFECT WORLD
GM Commands
Debug consol commands.
Ok some of these I can verify work mostly the ones pretaining to your own character. The rest I would appreciate help verifying so I can update the guide please state how you used them if you post so I can specify.
Note these are FW commands but most of them work in pw. If someone can find a better list of debug commands for 1.5.1 let me know I will update the guide.
Here is the link for the
Original Guide by loko9988
Original thread
Gshop Edting
Ok this will be a work in progress as I am learning it myself to teach it to you guys but lets get started. You will need these for sure.
Note in order to use it in the data you must click import 1.4.4.Then to save it once its done you click export 1.4.4.
Make sure you back up or rename your original gshop files before doing this. Now me and my server partner emungx3. Went over this a hundred times and figured out the traditional methods seem to create pitfalls. Also the gshop in this release seems to be corrupted as another user said. Best to start with a empty gshop or one you know works. Now for the fun part.
1. Open your gshop add all the items, and make sure they all have a price. For testing you can use the option to change all prices to 1 silver. Then switch them all to client control mode.
2. This gets its own spot because this is important props to emungx3 for figuring this out. Hit get new time stamp once you gave it click export 1.4.4 server and save your new gshop.data.
3. Don't close the editor yet make sure you have a copy of your gshopsev data from your server directory on your computer. Click export 1.4.4 server. Do not save a brand new file, I dont know why this works but it does. Navigate to the copy of your sev data you downloaded click it then tell it to overwrite when you save.
4. Now upload your new gshop and sev file to your server. Also replace the gshop data in elements/data in your client as it has to match the data on your server.
5. Restart your server, the new data will not take without doing this step.
Note your gshop files are in home/gamed/config on your server if your root is different just replace home with it.
in the client the gshop data can be found in element/data. Also be mindful you have to make sure you put the new file in the client and server side. Here a copy of some un-corrupted
Note this is still a wip but that will get the basic question of what do i edit with and how out of the way. Notice I need someone with more gshop experience to help me finish this part of the guide. This is as far as ive gotten for now please ask any questions you have though I will try to answer.
Hex Editing.
Ok this is a little guide on hex editing items using the character tab in pwAdmin note I haven't done direct xml editing yet. I don't have time till next weekend to delve into that but. Using this tool you can generate new hex data. What I have been doing is since it just edits the hex data of the item in your inventory. I will buy a cheap item and replace its hex valuee to re-stat it. I used this to make gm items for my gms and such. Not make sure the item you edit is the same kind as the hex you generate. Axe for an axe plate for a plate etc. Notice you cant go outside the values the games lay down. If you try more than 2 socket stones on a weapon or more than 4 on armor it will either delete it or it wont show up in your inventory. If that happens re edit one or more of the stats you added arent being accepted by the system. Incase im not clear buy a simple item so its in your inventory go to the character tab in pwAdmin select it then put the new hex in the hex value.. also a good thing to know set duration to 100 its your durability otherwise you wont be able to use the weapon.
A little example of what I did with this tool:
The tool is
I will add a tutorial later on xml editng once I can mess around with it. Don't know who made this tool but NRG I think but a link to the user profile to add to the guide would be appreciated. Note it only does weapons and armor and ive seen an issue with bows where it wont let you equip arrows but you can fire it all the same.
This guide is also a wip but I wanted to go ahead and put the info out I had for you guys.
Setting up spatch
Ok now we are going to go over how to setup spatch to update your server. Spatch is available through
Setting it up.
1. Download and extract the link I posted above which can be found
2 place the files found in the spatch folder in the root of your main drive. (usually C: ) otherwise the tools will not work. Make a folder in the same directory called ec_patch. Leave this alone now for a moment and continue to step 3.
3. On your server under your www. directory create a folder called patch make sure to chmod it to 755 atleast. Now navigate to it in your browser
4. In the ec_patch folder you created earlier make a folder called element, the inside of this folder should look just like the file structure of the client. element,launcher, patcher etc. Place any files you want to update in this folder just as they would be in the client.
5. Once you have the files arranged in the folder rename launcher.exe to patcher.exe(ONLY DO THIS FOR THE FILES ON YOUR C DRIVE) drag ec_patch over patcher.exe. you may be prompted to run as admin let it and it will create a .xup file. rename this file to ec_patch_0-1.xup and upload it to your patch directory on your server make sure to chmod your update file too just in case.
Now edit your version.sw file on your server to add the line 1=ec_patch_0-1.xup underneath the 0 and save it.
6. Now back in the client, copy the files for the spatch one more time. Note you can run it from the patcher folder too but in this tutorial I am saying to add it to the launcher folder that way each time your users launch they will see if there is a new update or not without having to go into another folder and run the update. Copy the spatch folders from my file into the launcher folder. Let it over ride the old Launcher.exe. ( if your using the stock version from svn delete Launcher.exe and rename the patcher,exe file to Launcher. ) Do not edit the version.sw file in the client leave it alone.
7. Now edit patcher.ini to point to your update directory if you followed the guide its YOUR DOMAIN or IP/patch. Optionally you can comment out the note line too. Once this is done save it and run the new Launcher.exe. It should find your update and if you click update it should download it. Note for test purposes I would only update one file in your first update.
regarding 20.04 it seems several of the repos have been deprecated I may repair it or not I havent decided for now id use ubuntu 22 if using ubuntu
New installer works in Ubuntu 22 and should work in 24 ( I dont have a test box for 24 ) I have made a ton of tweaks and revamped each server package to make it better and added 142. New 141 build added retro last stop before tideborn (even has a lot of the build stuff and parts of the tb cities hidden in the data as it looks like this was very close to the release date but just the original classes with a few modern niceties like auto...
New installer works in Ubuntu 22 and should work in 24 ( I dont have a test box for 24 ) I have made a ton of tweaks and revamped each server package to make it better and added 142. New 141 build added retro last stop before tideborn (even has a lot of the build stuff and parts of the tb cities hidden in the data as it looks like this was very close to the release date but just the original classes with a few modern niceties like auto...
- crucifix
- Replies: 131
- Forum: Perfect World Releases
Also if you can afford it there are two paid replacements for the tools below pwadmin available here ( there is a cracked version floating around) but the dev is
To view the content, you need to sign in or register
and makes some marvelous tools. The admin tool isnt absolutely necessary but it makes life a lot easier.This however i will never use anything else for editing npcs and data again its called Rae and can be bought
To view the content, you need to sign in or register
I of course will be updating the links for the free tools too.
file back up links here if one goes down. If one in the guide goes down let me know so i can fix it please.
To view the content, you need to sign in or register
To view the content, you need to sign in or register
is a link to my media fire pw folder too feel free to download and relink this stuff is getting hard to find!!Also if you have any of the files I need in the tutorial sections after server install let me know.
Look whos back again friends and im updating this.. This one done on 20.4 Ubuntu Focal Fossa I am sure itl work on the version after but beyond that who knows someone will have to test.
Compiled server setup guide.
Disclaimer: Notice to all users. I have attempted to credit everyone who's material was used in this guide. None the less I have gone over a large amount of material and downloaded gigs of scripts. If you see something that is yours and want to be credited in the guide. Let me know via pm and send me a link to the original thread where you submitted it and I will get you added in a timely fashion.
Ok most of this content is not my own and I will be crediting the various authors where their content has been used. The purpose of this guide is to simplify installing a 1.5.1 perfect world server. I spent several days searching stuff and I would like to hopefully save a few people the trouble.
Basics
Ok some basics before you start. Number one dont edit files like .sh and such for a linux server with a windows text editor it messes with the encoding and a lot of the scripts wont run wen you save them. I use
To view the content, you need to sign in or register
its a good free ftp client with command execution abilities for extracting files and stuff. The editor it uses wont mess your files up either.Installing the server
Step 1 install mysql and phpmyadmin IN THAT ORDER
Code:
apt update
apt install mysql-server
apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
Now you wont be able to do phpmyadmin remotely or login without this fix. SSH to your server then run mysql
Once inside sql run the following subbing root and mynewpassword for your info though on one distoro i tried this didnt work if it wasnt root so be warned
Code:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mynewpassword';
Now run this paying careful attention to the prompts especially the one about remote logins
Code:
mysql_secure_installation
After this go ahead and put the pw database in which you can get
To view the content, you need to sign in or register
Now lets finish up you still need a few packages.
Code:
dpkg --add-architecture i386
apt-get update
apt-get install libstdc++6:i386
apt-get install libxml2:i386
download this in your main directory
wget
To view the content, you need to sign in or register
Code:
apt install ./zulu6.22.0.3-jdk6.0.119-linux_amd64.deb
Download and edit your server files make sure you are in cd / first.
Code:
wget http://havenpwi.net/downloads/PWServerFiles1.5.1v101.tar.gz
tar kxvzf PWServerFiles1.5.1v101.tar.gz
Note the k variable is important there is a host file in here that can and will overwrite the one on your server and mess it up ill link the file because youl need to open it up and add it to your existing one. it will say it exited with failure because of that one file but its fine just combine the two host files after.
hosts file is in etc folder this part always makes me paranoid so i like to reboot after to make sure everything is good.
Now edit table.xml in the etc folder and add your user name and pass to the end of this line.
Code:
<connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/pw?useUnicode=true&characterEncoding=ascii&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true" username="XXXXXX" password="XXXXXXX"/>
Now go into whatever your public directory is www or html usually and copy the files in
To view the content, you need to sign in or register
download to it not in the folder directly to the root.Edit register.php with your database and username and pass.
Now execute this and if all goes well your server starts. You can try 775 but it varies from distro to distro if it will start since i know someones gonna cry lol!!
Code:
cd /home; chmod 777 chmod.sh; ./chmod.sh
./server start
Used to have a file to run all of these but ill have to remake it for now we can old school it to start the tutorial zone and wold map.
Code:
cd /home/gamed; ./gs gs01
cd /home/gamed; ./gs is62
you can go to yourdomain/register.php to make an account also i just remembered theres a setting for how much gold to give on registration in register.php.
To view the content, you need to sign in or register
To view the content, you need to sign in or register
Using this client I had no issues make sure you update the file serverlist in element/userdata/server mine is a bit trimmed down but I will post examples. just change my links for yours. I recommend editing the stock one just so you get to learn. Also edit the patcherfiles serverlist and update server in patcher/server before launching .. Do not run it before doing this even if you close it before it finishes the first file loaded will cause you to get a version too low error.
element serverlist will look like this
Code:
Server1
Haven 29000:havenpwi.com 93
the patchers
serverlist
Code:
Server 1
[Havenpw - PvE] Tyrael 29000:havenpwi.com 54
updateserver
Code:
"[EN]Patch-1" "http://havenpwi.com"
Ok from here on disclaimer this is mostly my old info i need to touch up from here find tools get rid of out dated ones the info is probably good though still.
pwAdmin
Now this was the fun part I am going to help you setup pwAdmin I refreshed the noob script sora1984 made.
original thread
Get and run pwadmin installer.
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)
Now just fix the config file. Some servers hide the file if you want it easy get the file
To view the content, you need to sign in or register
and add your sql info (also change your password with the tutorial below)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. ( I already changed it in mine "admin " will log you in id still change it )Decide what your password is going to be and change root to it. Then go
To view the content, you need to sign in or register
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.
Gm/debug
The gm console can be reached in game by holding ctrl and pressing G
the debug is reached by holding shift and pressing ~
if you need gm without having pwAdmin setup you can do this like so.
Original content by segredu
original thread
Add GM and Cubi-Coin in MySQL database
1- Open your browser with http:// server IP /phpmyadmin/
2- Select your pw database and select SQL tab
3- ID code code (change 32 for your Char ID) in the codes below and click Execute/submit
ADD GM
Code:
call addGM (32 , 1)
ADD 10.000 CUBI-COIN(Zen/CS gold)
Code:
call usecash (32 , 1, 0, 1, 0, 1000000, 1, [USER=116066]ERROR[/USER])
Gm Console commands Original guide by Bryanek
Original thread
GUIDE - HOW TO USE GM CONSOLE - PERFECT WORLD
GM Commands
Code:
Start invincibility - Makes you invincible, if something attacks you it will show "no effect". This can be turned on/off by double click on this command. It disables by using fury burst
Start Invisibility - Makes you invisible. This can be turned on/off by double click on this command. If you are invisible players can't see you in the party window (T)
Restart server - Restarts the whole server. You can add the number of the seconds before the server shuts down
Broadcast - By pressing on this a new window comes up. By writing in this window you can write in the red (GM) chat
Show online users number - Shows how many players are currently playing on the server
Show/hide character ID - This can be turned on/off by double click on this command. It show the player's IDs instead of their names
Banned speaking account - This function mutes every character that is on the account (have to add ID one of the players char on the account)
Banned speaking character - This function mutes the players character (Have to add the character ID)
Banned sealing account - This function bans the players account so the player cant login with it. (Have to add the players ID, time and reason)
Banned sealing character - This function bans the players character so the player cant login with it. (Have to add the players ID, time and reason)
Jump next to player - After you wrote the players ID it teleport right next to him. If you teleported in the fb, it will count you out like a normal player (60 seconds), (Have to add: ID)
Call player - Teleports the player right next to you (Have to add: ID)
Create monster - You can create monster with this function
You have to add the:
Monsters ID (Cannot be blank),
Exterior ID (0 by default) [Exterior is a place where you can change the skin of a mob]
Quantity (The number how many monster do you want to spawn)
Existing time (How long does the monster lives, default is 0)
WARNING: Some mobs ignores injury, so always give them an existing time or it wont disappear!!!
Activate monster creator - This is where you can make the most of the events.
Type the number of the event and it wil start. You cant add the lenght of the event here. Like on dc event the mobs will spawn automatically.
Some of the events stops by itself (like the dram searching port invasion duration is 1 hour)
[B]ID of Events:[/B]
Christmas Events
2 - Christmas Event (Snowmans in ADC dropping celestial stones etc)
3 - Santa Claus City of Ethersword Elder
4 - Santa Claus City of Feathers Elder
5 - Santa Claus City of Vanished Elder
6 - Santa Claus Rosalind & Eunice in Ancient Dragon City
8 - Activate boxes in arena (GM need to be inside to start)
Horse Race
9 - Reward boxes (At start/finish line)
10 - Flags and start npc (Giant dog)
11 - Cheerleaders (And arrows and bridge)
Communication event
12 - Mailboxes (Default is set to on, remeove them by using Close monster creater)
13 - Messenger Angel Chiling (NPC by all mailboxes selling World Trumpets, and have mailing service), Also adds replacement NPCs for the Perfect Present Ambassadors
14 - Perfect Present Ambassador (Defauld is set to on, remove them by using Close monster creater)
Rancor Event
66 - Village of the Hidden Hero rancor level 20
67 - Cambridge Village rancor level 20
68 - Bamboo Village rancor level 20
69 - Walled Stronghold rancor level 20
70 - Antiquity Entreance rancor level 20
71 - South Stalking Stronghold rancor level 20
72 - Ground of Logging rancor level 20
73 - Vicinage Town rancor level 20
74 - Barbarian Village rancor level 20
75 - Mirror lake rancor level 40
76 - Orchis Sereene rancor level 40
77 - Allied Army Camp rancor level 40
78 - Fishing Village rancor level 40
79 - Clan of haste rancor level 50
80 - Town of Forwarding wind rancor level 50
81 - Camp of Sumor rancor level 50
82 - Sundown Town rancor level 50
83 - Town of arriving rancor level 50
84 - Arrow stepping Manor rancor level 70
85 - City of Misfortune rancor level 70
86 - Fangs Town rancor level 70
87 - Dreaming cloud Village rancor level 70
88 - Whetstone Stronghold rancor level 70
89 - Village of the Lost rancor level 90, flying
90 - Town of Sanctuary rancor level 90, flying
91 - Notting Village rancor level 90, flying
92 - Reckless Beauty Village rancor level 90
93 - Fire bathing Village rancor level 90
94 - South Screen Town rancor level 90
95 - East Screen Town rancor level 90
96 - North Screen Town rancor level 90
97 - Expeditionary Camp rancor level 100
98 - Snowswept Village rancor level 100
99 - Shattered ice rancor level 100
100 - Avalanche rancor level 100
103 - Dream Searching Port invasion
104 - Thousand Stream AIR invasion
ADC invasion events
109 - Start final ADC invasion wave (When bosses are killed it advances onwars to wave 1 and if bosses has been aggroed they dont disappear when event is closed)
110 - Start ADC invasion wave 1
111 - Start ADC invasion wave 2
112 - Start ADC invasion wave 3
113 - Start ADC invasion wave 4
114 - ADC invasion last boss outside ADC north
117 - ADC invasion last boss outside ADC north
118 - ADC invasion last boss outside ADC west
119 - ADC invasion last boss outside ADC south
120 - ADC invasion last boss outside ADC south
121 - ADC invasion last bosse's Leader ADC north
125 - NON-AGGRO Boss inside wall by ADC north gate
126 - General Sorely and a line of guards outside ADC. Usefull for ADC invasion event
New Year events
127 - New Year Lanterns (lamps) on most buildings and 20 lantern NPCs (New Year Riddle lanterns) in ADC center, no quests
128 - New year Boss outside ADC west, north and south which drops fireworks, mirage, ang bao (gives 10-50k gold) and Congratulate token wich gives system announcement "-Player- wishes all the players in the Perfect World a happy and prosperous chineese new year!" Also adds "New Year Gift Peddlery" NPC who sells gift items (No usage/unknown usage of them so far)
Other
134 - Puts boxes around teleporters in Ethersword, Vanished and Feathers
Close monster creator - You have to close every event here after its finished or if you want to restart it. type its number and press confirm
Create object - You can use it to spawn items previously added into "GM spawns" in elements.data
Is setting touched off with conversation - Means you cant be whispered
Banned sealing character in common:
Ban speaking = Mute by character
Ban transaction = Player are not able to use trade option
Ban selling = Player shouldn't be able to sell anything to NPC but it doesn't work, it works like a mute
Seal the character = Ban by character
How to get the ID of players:
1.
In chat clicking on their names with the right mouse button while pressing left CTRL and their number will show up in the middle of the screen.
It not working if the chat is one sided => if you just pm him and try to get his number it will show you 0
2.
Show/hide character ID (detailed above)
How to get the IDs of the monsters:
Go to Perfect World Database and select which mob do you want to spawn.
To spawn it you have the copy the last numbers of the sites URL
Expample:
Mob: Ancient tiger
The sites URL is "http://www.pwdatabase.com/ms/mob/16568"
So the ID of the Ancient tiger is 16568
Dont forget: Watch what mobs are you spawning!
How to teleport freely - Easiest thing ever. Open the map, zoom there where do you want to go and click there with the left mouse button while holding left CTRL. There are some places where you cant move. In GM land you can move freely
Debug consol commands.
Ok some of these I can verify work mostly the ones pretaining to your own character. The rest I would appreciate help verifying so I can update the guide please state how you used them if you post so I can specify.
Note these are FW commands but most of them work in pw. If someone can find a better list of debug commands for 1.5.1 let me know I will update the guide.
Here is the link for the
To view the content, you need to sign in or register
file for element client ( for debug and quick starting) make sure you run it form the element folder in the client. Note you cannot get debug menu without starting the game with this file. Original Guide by loko9988
Original thread
Code:
Level Up:
d_c2scmd 2000 confirmed level and spirit
d 2000% same effect as above code confirmed
GM Weapon:
d_c2scmd 10807 782
GM Armor:
d_c2scmd 10807 5769
GM Pants:
d_c2scmd 10807 15329
GM Shoes:
d_c2scmd 10807 4524
GM Ring:
d_c2scmd 10807 8851
GM item to warp to instance area:
d_c2scmd 10807 23467
Normal Weapon Codes:
Lv20:31135-31142
Lv30:31143-31150
Lv40:31151-31158
Lv50:31159-31166
Lv60:28323-28326, 28351-28354
Lv70:28331-28334, 28359-28362
Warp to Map Location:
d_c2scmd 2008 <map number> <x> <y>
Gold:
d_c2scmd 1988 10000000000 [amount]
Soul Coins:
d_c2scmd 1989 [amount]
Spawn Item Onto Ground (Use this code to spawn "stacks" of items):
d_c2scmd 10800 <ID> <Amount desired>
Spawn a single Item Into Bag (Use this code when you need to spawn a Pet Egg):
d_c2scmd 10807 <ID>
Spawn a monster:
d_c2scmd 10802 <MonsterID> <Num> 0 0
Expand bag:
d_c2scmd 2016 96
See Server Date/Time
d_getservertime
Change Z axis
d_c2scmd 2012 740404 xxxx
Fly
d_c2scmd 10803 66
Level Pet
d_c2scmd 5003
Talent Reset Item
d_c2scmd 10807 13227
Job EXP
d_c2scmd 1999 XX - Where XX = a number 1-34
(32=Socialite, 33=Adventurer, 34=Merchant)
Reputation Points
d_c2scmd 10807 4494
Job Points
d_c2scmd 10807 4495
Advance Server Era:
d_delcmd 1988 5000000
Guild Bid
Start: d_delcmd 2010 1
Finish: d_delcmd 2011 1
Guild Base Funds: d_c2scmd 9001 Amount e.g. d_c2scmd 9001 100000
d_c2scmd 9001 -100000
Guild Zeal: d_c2scmd 9002 Amount
Guild Base Resource Value: d_c2scmd 9002 Type# Amount (Type# 1~4)
e.g. d_c2scmd 9002 2 50000
Guild Construction Quest Amount: d_c2scmd 9003 Amount
Individual Contribution and Guild Contribution: d_c2scmd 9004 Amount
Economy = d_c2scmd 9000 1 50000
Magic = d_c2scmd 9000 2 50000
Amor = d_c2scmd 9000 3 50000
Civilization = d_c2scmd 9000 4 50000
Faith: = d_c2scmd 9000 5 50000
The Command for completing construction: d_c2scmd 9003 200
Leaf of World Tree
d_c2scmd 2014
Gshop Edting
Ok this will be a work in progress as I am learning it myself to teach it to you guys but lets get started. You will need these for sure.
To view the content, you need to sign in or register
To view the content, you need to sign in or register
in case you need it.Note in order to use it in the data you must click import 1.4.4.Then to save it once its done you click export 1.4.4.
Make sure you back up or rename your original gshop files before doing this. Now me and my server partner emungx3. Went over this a hundred times and figured out the traditional methods seem to create pitfalls. Also the gshop in this release seems to be corrupted as another user said. Best to start with a empty gshop or one you know works. Now for the fun part.
1. Open your gshop add all the items, and make sure they all have a price. For testing you can use the option to change all prices to 1 silver. Then switch them all to client control mode.
2. This gets its own spot because this is important props to emungx3 for figuring this out. Hit get new time stamp once you gave it click export 1.4.4 server and save your new gshop.data.
3. Don't close the editor yet make sure you have a copy of your gshopsev data from your server directory on your computer. Click export 1.4.4 server. Do not save a brand new file, I dont know why this works but it does. Navigate to the copy of your sev data you downloaded click it then tell it to overwrite when you save.
4. Now upload your new gshop and sev file to your server. Also replace the gshop data in elements/data in your client as it has to match the data on your server.
5. Restart your server, the new data will not take without doing this step.
Note your gshop files are in home/gamed/config on your server if your root is different just replace home with it.
in the client the gshop data can be found in element/data. Also be mindful you have to make sure you put the new file in the client and server side. Here a copy of some un-corrupted
To view the content, you need to sign in or register
Remember you need to re time stamp it and fix your sev file.Note this is still a wip but that will get the basic question of what do i edit with and how out of the way. Notice I need someone with more gshop experience to help me finish this part of the guide. This is as far as ive gotten for now please ask any questions you have though I will try to answer.
Hex Editing.
Ok this is a little guide on hex editing items using the character tab in pwAdmin note I haven't done direct xml editing yet. I don't have time till next weekend to delve into that but. Using this tool you can generate new hex data. What I have been doing is since it just edits the hex data of the item in your inventory. I will buy a cheap item and replace its hex valuee to re-stat it. I used this to make gm items for my gms and such. Not make sure the item you edit is the same kind as the hex you generate. Axe for an axe plate for a plate etc. Notice you cant go outside the values the games lay down. If you try more than 2 socket stones on a weapon or more than 4 on armor it will either delete it or it wont show up in your inventory. If that happens re edit one or more of the stats you added arent being accepted by the system. Incase im not clear buy a simple item so its in your inventory go to the character tab in pwAdmin select it then put the new hex in the hex value.. also a good thing to know set duration to 100 its your durability otherwise you wont be able to use the weapon.
A little example of what I did with this tool:
The tool is
To view the content, you need to sign in or register
I will add a tutorial later on xml editng once I can mess around with it. Don't know who made this tool but NRG I think but a link to the user profile to add to the guide would be appreciated. Note it only does weapons and armor and ive seen an issue with bows where it wont let you equip arrows but you can fire it all the same.
This guide is also a wip but I wanted to go ahead and put the info out I had for you guys.
Setting up spatch
Ok now we are going to go over how to setup spatch to update your server. Spatch is available through
To view the content, you need to sign in or register
Note there are a lot of other useful tools in there. Though for the purpose of this guide. I have custom edited a version of spatch which you can get
To view the content, you need to sign in or register
.Setting it up.
1. Download and extract the link I posted above which can be found
To view the content, you need to sign in or register
2 place the files found in the spatch folder in the root of your main drive. (usually C: ) otherwise the tools will not work. Make a folder in the same directory called ec_patch. Leave this alone now for a moment and continue to step 3.
3. On your server under your www. directory create a folder called patch make sure to chmod it to 755 atleast. Now navigate to it in your browser
To view the content, you need to sign in or register
and make sure you can access it. Once you know you can upload a copy of the version.sw file to the patch folder you created. Chmod it to 755. Rename it to versions.sw.4. In the ec_patch folder you created earlier make a folder called element, the inside of this folder should look just like the file structure of the client. element,launcher, patcher etc. Place any files you want to update in this folder just as they would be in the client.
5. Once you have the files arranged in the folder rename launcher.exe to patcher.exe(ONLY DO THIS FOR THE FILES ON YOUR C DRIVE) drag ec_patch over patcher.exe. you may be prompted to run as admin let it and it will create a .xup file. rename this file to ec_patch_0-1.xup and upload it to your patch directory on your server make sure to chmod your update file too just in case.
Now edit your version.sw file on your server to add the line 1=ec_patch_0-1.xup underneath the 0 and save it.
6. Now back in the client, copy the files for the spatch one more time. Note you can run it from the patcher folder too but in this tutorial I am saying to add it to the launcher folder that way each time your users launch they will see if there is a new update or not without having to go into another folder and run the update. Copy the spatch folders from my file into the launcher folder. Let it over ride the old Launcher.exe. ( if your using the stock version from svn delete Launcher.exe and rename the patcher,exe file to Launcher. ) Do not edit the version.sw file in the client leave it alone.
7. Now edit patcher.ini to point to your update directory if you followed the guide its YOUR DOMAIN or IP/patch. Optionally you can comment out the note line too. Once this is done save it and run the new Launcher.exe. It should find your update and if you click update it should download it. Note for test purposes I would only update one file in your first update.
Last edited:

