[server files] resources

Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
Thread dedicated for setting up the server.

:alienmental:

Server files collected from other threads (thanks to rattenzadel)
Dpt:-

Nongnots Server:-

Pass is:- nongnot

Jpt:-


*all those use ePT client which is stickied. If you wanna have more maps and items, use kPT, but then you will need to search this board for custom kPT executable for server. Client link is in the sticky too
GM COMMANDS
admin level 1
/expup "Number" ;Expup is used to gain exp ingame but causes error due to gaining exp to rapidly.
/field "1-31" ;Field command is used to teleport between maps at anytime. A list of all map numbers is below.
/LeeShotKeyReset ;Resets skill shortcuts.
/LeeForce ;Cancel Force Orb, which you use.
/LeeResetRankUp ;Resets your char back to Tier 1.
/LeeHelpMeStat ;Resets your stats.
/LeeHelpMeSkill ;Resets your skills.
/LeeWhereIs "Username" ;Maybe shows location of chosen user.
/LeeResetQuest ;Resets Quests.
/Lee3thRankUp ;Clears 3rd Rankup Quest.
/Lee4thRankUp ;Clears 4th Rankup Quest.
/Lee5thRankUp ;Clears 5th Rankup Quest.
/mymodel
/PassRankUp ;Ranks Your Character up.
admin level 2
~/get_event_level ;Get Event Level command's purpose is not yet known.
~/get_guid ;Get Guid command returns clan information for the server.
~/dm_info ;DM Info command's purpose is not yet known.
~/get_money ;Get Money Command returns a message with total gold on server in players accounts.
~/show ;Makes admin character visable after using the Hide command.
~/hide ;Makes admin character invisable.
~/free_blackuser "Accname" ;Unblocks specifyed account from ban.
~/reset_blackuser ;Clears all blocked users in server.
~/show_blackuser ;Returns a list of all blocked accounts on server.
~/set_castle_tax "0-10" ;Set Blesscastle Tax.
~/reset_fountain_time ;Resets Mana fountain in bless castle.
~/get_fountain_info ;Returns message with information about amount of mana taken from the mana fountain.
~/get_castle_info ;Returns message with bless castle information.
~/set_castle_master "GuildName" ;Sets Blesscastle leaders.
~/set_castle_time "Number" ;Set duration of Bless Castle siege.
~/easy_castle ;Easy Castle command begins bless castle event but with no castle NPC's.
~/end_castle ;End Bless Castle siege.
~/start_castle ;Begin Bless Castle siege.
~/area_monster ;Area_monster command's purpose still unknown.
~/event_monster ;Begins a monster event on the chosen map.
~/mymonster "monster" ;Spawns a neutral monster.
~/monster "Monster" "number" ;Spawns number of monsters chosen.
~/arena_monster ;Arena monster command's purpose is unknown.
~/area_users ;Displays users connected to current area server.
~/player_sight "Number" ;Changes client - monster spawn seeing sight.
~/set_absorb "Number" ;Sets players absorb to the given number.
~/talk "Npc/Monster/player name" ;Makes chosen PC speak your message. ;
~/user ;Unknown.
~/where "Username" ;Possibly takes GM to chosen player.
~/call "Username" ;Teleports Chosen player to your location.
~/near "Username"; Teleport to specified user
~/username ;Unknown Command.
~/userid ;Unknown Command.
~/insert ;Unknown Command.
~/shutdown ;Begins 9 minute shutdown of server.
~/open_warehouse ;Displays your warehouse at your location.
~/kill "Username" ;Kills Chosen player.
~/kick "Username" ;Kicks Chosen Player.
~/netlog ;Unknown Command.
~/get_potion ;Displays amount of potions in server.
~/comic_player "Username" ;Gives chosen player BigHead mode.
~/get_currency ;Unknown Command
~/get_forceorb ;Possibly displays amount of force orb's in server.
~/get_bosstime ;Displays time before next boss spawns.
~/localtime ;Displays clients local time.
~/sod_enter ;Teleports you into SoD arena.
~/sod_view ;Shows SoD Status.
~/time ;Unknown Command.
admin level 3
~/@put "Item Name Or Code" ;Puts chosen item in your inventory.
~/@get "Item Name Or Code" ;Drops chosen item at your feet.


Weapons
WA101 - WA120 : Stone Axe - Dragon Axe
WC101 - WC120 : Eagle Claw - Dragon Talon
WH101 - WH121 : Hammer - eXtreme Hammer
WM101 - WM121 : Wand - Astral Staff
WP101 - WP121 : Pole - Phoenix Spear
WS101 - WS122 : Short Bow - Dragon Bow
WS201 - WS223 : Dagger - Dragon Sword
WT101 - WT121 : Javelin - Legend Javelin
Armor
DA102 - DA122 : BattleSuit - Dragon Armor
DA202 - DA222 : Robe - Angel Robe
DB101 - DB120 : Leather Boots - Dragon Boots
DG101 - DG120 : Leather Gauntlets - Dragon Gauntlets
DS101 - DS120 : Wood Shield - Dragon Shield
OA201 - OA220 : Leather Armlets - Dragon Bracelets
OM101 - OM121 : Pearl Beads - Clairvoyance
Shop Items
EC101 - EC105 : Ether Core - Union Core
FO101 - FO109 : Lucidy Force - Celesto Force
OS101 - OS112 : Lucidy - Inferna
PL101 - PL104 : Small Life Potion - Mystic Life Potion
PM101 - PM105 : Small Mana Potion - Mystic Mana Potion
PS101 - PS105 : Small Stamina Potion - Mystic Stamina Potion
Other
GF101 - GF104 : Quest Items?
GP101 - GP113 : Hopy Crystal - Web Crystal (GP109 : Mystic Crystal)
MA101 - MA103 : Mystic Bottle, Honey, Mystic Oil (Rank Up Quest)
OA101 - OA124 : Round Amulet - Mystic Amulet +3
OR101 - OR124 : Round Ring - Mystic Ring +3
PS201 - PS202 : Small Songpyun - Large Songpyun
QW101 - QW105 : Metal Wing - Chaos Wing
SD201 - SD206 : Quake Seal - Guardian Saint Seal
SE101 - SE103 : Gera - Gyfu
SD207 : +5000 PT UP
OR201 : G-Zone Ring
OR205 : Valento Ring
BI101 : Blue Stone for Stat points reset
BI102 : Red Stone for Skill Points reset
BI103 : Green Stone for Stat and Skill points reset
BI104 : Rebirth Scroll
BI105 : Eternal Life
BI106 : Fatal Edge for increasing Critical percentage
BI107 : Avert Scroll for increasing Evasion percentage
BI108 : Teleport Scroll
BI109 : Big Head Potion
BI110 : Aging Stone for increasing Aging Success


List of areas
0 - Acasia Forest
1 - Bamboo Forest
2 - Garden of Freedom
3 - Ricarten Town
4 - Refuge of the Ancients
5 - Castle of the Lost
6 - Ruinen Village
7 - Cursed Land
8 - Forgotten Land
9 - Navisko Town
10 - O a s i s
11 - Battlefield of the Ancients
12 - Forbidden Land
13 - Ancient Prison 1F
14 - Ancient Prison 2F
15 - Ancient Prison 3F
16 - Checker Room (PCRoom)
17 - Forest of Spirits
18 - Land of Dusk
19 - Valley of Tranquillity
20 - Road to the Wind
21 - Pillai Town
22 - Cursed Temple 1F
23 - Cursed Temple 2F
24 - Cave of Mushrooms
25 - Cave of Beehive
26 - Sanctuary of Darkness
27 - Railway of Chaos
28 - Heart of Perum
29 - Eura
30 - S O D Heaven Stage
31 - Gallubia Valley
32 - Tier 4 Rank Up Arena
33 - Bless Castle
34 - Greedy Lake
35 - Ice 2*
36 - Kelvezu's sweet home*
37 - Lost Island*
38 - you'll be teleported on clouds (Map bug ? Or not available for this moment)*

*available only with KPT-server/client (thanks to [user]Eths[/user])

no monsters/NPCs
Copy the maps "char" and "field" from your client to your server directory
 
Last edited:
How to get Admin levels

"/" means Admin Level 1 required. You don't need to do anything when you logged with Admin Client.
Example of Adminlvl1 Command :
/field 21 (21 warps you to Pillai, see "List of areas")


"~/" means Admin Level 2 required. You need to enter "~/;"YOURNAME" Hello2" when you logged with Admin Client. (Obviously "YOURNAME" is you character's name.)
Example of Adminlvl2 Command :
~/kick "Username"


"~/@" means Admin Level 3 required. You need to enter "~/;"YOURNAME" Hello3" when you logged with Admin Client. (Obviously "YOURNAME" is you character's name.)
Example of Adminlvl3 Command :
~/@put "Item Name Or Code"



Hope it helps...
 
PHP Server status script (online/offline)

PHP:
<?php

/*change your server's name and host*/
$server['name'] = "MyPT";
$server['host'] = "127.0.0.1";
$server['port'] = "10007";


/*no need to change the further code*/
$connection = @fsockopen($server['host'], $server['port'], $ERROR_NO, $ERROR_STR, (float)1.5);

echo "{$server['name']} PristonTale server is ";

if($connection)
{
	fclose($connection);
	echo "<font color=\"green\">online</font>";
}
else
{
	echo "<font color=\"red\">offline</font>";
}
?>

PHP Total user online count credits to [user]nhed57[/user], thread:

PHP:
Online :
<?php
$dbhost = "127.0.0.1"; // Database Host Name
$dbuser = "sa"; // Database User Name
$dbpass = "12345"; // Database Password
$dbname = "ClanDb"; // Database Name unless you changed it
$mssql = mssql_connect($dbhost,$dbuser,$dbpass) or die('Not connected : ' . mssql_error());
mssql_select_db($dbname, $mssql) or die('Not connected to database: ' . mssql_error());

$que1="SELECT * FROM ClanTicket";
$total_count = mssql_query($que1);
$res = mssql_num_rows($total_count);
echo $res;
?>
 
Last edited:
info taken from:
http://forum.ragezone.com/priston-tale-dev/clan-system-160336-2.html#post1490087

this could help developing clan server scripts

Just wait till Kohitsuji post his result here :P he will tell us how it work i hope :d

Oh, thanks ^^

Fixing the EXE lines from .asp to .php don't make difference, I've modified it to work with PHP soon, now I'm needing the clan syntax in original server (searching someone with 500k and a lvl 40 char). The syntax posted here helps a lot. Example: in clanMember.asp, the script returns a code to client:

Code=2 CName=snow CNote=gv_cnote CZang=gv_czang CStats=1 CMCnt=13 CIMG=gv_cimg CSec=50358689 CRegiD=2004-12-21 坷饶 12:21:36 CLimitD=2005-06-03 坷傈 3:57:45 CDelActive=0 CPFlag=0 CKFlag=0 CMoney=500000 CNFlag=0

Simple: all scripts that 72hour have posted connects in SQL and sends a response message to client. The server is only a gateway between client and ASP page.

I've extracted all the ASP calls in 4096.EXE, it will help so much in the querystring definitions:

Code:
http://info.pristontale.com/blackWarning/warning.asp?id=%s&name=%s
http://%s/ServerMain/isCheckClanJang.asp?userid=%s&gserver=%s&ticket=%d
http://%s/ServerMain/isCheckClanName.asp?ClName=%s&gserver=%s&ticket=%d
http://%s/ServerMain/isCheckClanNum.asp?num=%s&ticket=%d
http://%s/ServerMain/isCheckClanwon.asp?gserver=%s&clwon=%s
http://%s/ServerMain/isCheckClanMember.asp?userid=%s&gserver=%s&chname=%s&ticket=%d
http://%s/ServerMain/clanInsertClanWon.asp?userid=%s&gserver=%s&chname=%s&clName=%s&clwon=%s&clwonUserid=%s&lv=%d&ticket=%d&chtype=%d&chlv=%d&chipflag=%s
http://%s/Clan/clanInsert.aspx?userid=%s&gserver=%s&chname=%s&clName=%s&expl=%s&ticket=%d&chtype=%d&lv=%d
http://%s/ServerMain/GetAllMyClanMember.asp?userid=%s&gserver=%s&chname=%s&ticket=%d
http://%s/ServerMain/clanRemove.asp?userid=%s&gserver=%s&chname=%s&clName=%s&ticket=%d
http://%s/ServerMain/clanWonRelease.asp?userid=%s&gserver=%s&chname=%s&clName=%s&%s&ticket=%d
http://%s/ServerMain/ClanSubChipUpdate.asp?chname=%s&gserver=%s&ticket=%d
http://%s/ServerMain/ClanSubChipRelease.asp?chname=%s&gserver=%s&ticket=%d
http://%s/ServerMain/ClanSubChipChange.asp?chname=%s&gserver=%s&clName=%s&ticket=%d
http://%s/ServerMain/clanWonSelfLeave.asp?userid=%s&gserver=%s&chname=%s&clName=%s&ticket=%d
http://%s/ServerMain/isKflag.asp?userid=%s&clName=%s&chName=%s&gserver=%s&KFlag=%s&Gubun=%s&ticket=%d
http://%s/ServerMain/isPFlag.asp?userid=%s&clName=%s&chName=%s&gserver=%s&PFlag=%s&Gubun=%s&ticket=%d
http://%s/servermain/sod2info.asp?userid=%s&chname=%s&gserver=%s&index=%d

The first string is the nProtect warning, when nProtect detects a hacking tool in your PC, the client report the hacking attempt to server, and the server repass the information to this link. The other links below are the clan/SoD/karina calls, with the filename and their respective paths. All the %s parameters represents a string (parameters in text format), and all the %d parameters represents a numeric type (maybe integer or float, I'm noob in assembly xD). That represents your hotuk.ini configuration for clan server (in line *CLAN_SERVER IP PORT IP PORT). With this information, I need only understand the ASP response syntax. It's not easy, but not impossible =P
 
hey thanks [lexx] for the guide.
can you please carify how the admin lvl thing works?

So i open jpt admin client. And say my admin acc details are:

tester
testerpw

so exactly how do I login? I keep getting invalid ID when trying to login with that "hello3" next to it. Can someone clarify for me, i'm noob :P
 
Ok it works now, i used someone else's hotuk and he renamed Hello3 to Level3 :P.

~/@get seems to work but not ~/@put for some reason
 
Last edited:
okay here a few questions you should add in here for complete newbs setups

Version Of Client (example Kpt Jpt Ipt)
Files required ( translation of client side and admin connect files)
Missing DLL's ( some windows Version like win2k3 had problemes for admin files)
a Guide with Image To Setup Server (or a Video) ( i know its bull**** but when your done your like HEY GO THERE! )
Link to MSSQL 2000 and 2005 (example win2k have major probleme with 2005 so it's better to use 2k)
Of course the Guide should have link to the files and mirror's incase ( people who complain they can't download from site and need 10 post (funny i don't even have 10post and i dled them from this site))

PS: why im not doing any of this? Simple my Server BOX is fully Loaded and also act as my Home router so if i put more stuff it goes Boom!

Also i am myself ignorant of the Client Version required i know how to setup the MSSQL stuff its quite easy compared to an AEGIS ragnarok online.

I'm not an active member either...
 
just a side note for the level 3 gm commands. if you don't turn on npc/mobs by placing the Char and Field folder in your main jPT server folder, commands like ~/@get don't seem to work.
 
Hi,

PHP:
 /LeeForce

Cancel Force Orb, which you use.

;-)

Dm_info : I think tht is your Domage that u can make on a mob
256-319- 30

min-max-critical : i'm not sure but i think ^^'
 
is there a command which make you a specific Npc/Monster ?...
or a command that makes a skill 100%?

like /become or somthing?


also what is the global gm talk command?


thanks alot for the helper realy realy
 
Last edited:
thanks but wierd..

im writin lets say : />HI!

and it just doesnt apear tried also />Mystical: hi
or />GM: hi or

no idea :S

and what about the becoming a npc/monster command?.. is there such thing? i saw on a server a gm as a hopy
 
Other Items:

BI101 - Blue Stone for Stat points reset
BI102 - Red Stone for Skill Points reset
BI103 - Green Stone for Stat and Skill points reset
BI104 - Rebirth Scroll
BI105 - Eternal Life
BI106 - Fatal Edge for increasing Critical percentage
BI107 - Avert Scroll for increasing Evasion percentage
BI108 - Teleport Scroll
BI109 - Big Head Potion
BI110 - Aging Stone for increasing Aging Success
 
Back