i think you can edit stats, coins, map location, ingame items, stash inventoy but not the character's name might have an exploit on that one.. or only an admin can change unless you can restrict to input any special characters..
$ms_con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
$result1 = mssql_query("SELECT login_flag FROM account.dbo.USER_PROFILE WHERE user_no = '".$_POST['user_no']."'",$ms_con);
$row1 = mssql_fetch_row($result1);
if($row1[0] == '1100') {
$result2 = mssql_query("SELECT character_no FROM character.dbo.user_character WHERE user_no = '".$_POST['user_no']."' ORDER by login_time DESC",$ms_con);
$row2 = mssql_fetch_row($result2);
}
if($row1[0] == '1100' && $row2[0] == $_POST['char_no']) {
echo "<br>This character can not currently be edited, since it is online.<br><a href='javascript:history.back()'>Back</a>";
echo "<br>The new character's name is not just letters and numbers or is shorter than 3 characters or longer than 20 characters.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_exp'])) {
echo "<br>Experience does not only consist of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_lvl'])) {
echo "<br>The level indication does not only consist of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_str'])) {
echo "<br>The data points Str consists not only of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_dex'])) {
echo "<br>The Dex data points is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_con'])) {
echo "<br>The Con data points is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_spr'])) {
echo "<br>The Spr data points is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_inv_money'])) {
echo "<br>The new DIL Inventory consists not only of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_war_money'])) {
echo "<br>The new DIL Warehouse does not only consist of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_ret_x'])) {
echo "<br>The new return point X is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_ret_y'])) {
echo "<br>The new return point Y is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_stats'])) {
echo "<br>The stats point is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_skill'])) {
echo "<br>The skill points is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_pk'])) {
echo "<br>The PK count is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_chaotic'])) {
echo "<br>The Chaotic level does not only consist of numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_reborn'])) {
echo "<br>Invalid Reborn Number<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_skillreset'])) {
echo "<br>Invalid Skill Reset Number Can only be 1 of 0<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_statreset'])) {
echo "<br>Invalid Stats Reset Number Can only be 1 of 0<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_adv'])) {
echo "<br>The Adv count is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_hp'])) {
echo "<br>The HP count is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_mp'])) {
echo "<br>The MP count is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
} elseif(!preg_match("/[0-9]?/", $_POST['new_shield'])) {
echo "<br>The Shield count is not just numbers.<br><a href='javascript:history.back()'>Back</a>";
no that wasnt for me .
i wanted aloken create screen and they ignored me
huh
yes, i said USEFULL
that script would be totaly USELESS, why ?
cuz you can create chars ingame, its build that way
and its not possible
and if you want aloken do the efford to actualy getting the files and make them work
iam not gonna write a script for it
yes, i said USEFULL
that script would be totaly USELESS, why ?
cuz you can create chars ingame, its build that way
and its not possible
and if you want aloken do the efford to actualy getting the files and make them work
iam not gonna write a script for it
It's possible, ofc. I already started working on it, it's just really hard.
Would be better if u create any char, and u change it to aloken on php...
Would be a LOT easier.
I have a request for a php script if your up to the test. This is what i would like to do.. I wanna sell custom items for cash. The object is let them select the Armor\weapon add a price tag to that. then allow different options be added all for a price per option. It would also need a purchase button where they could purchase the item with cash then after successfully paying for it submit the setup to a character. there are more details to it but i wanted to see if u were up for the challenge before going further into it,
I could use a php script just for dk coins, i don't need any other features just a coins php it self.. the one i currently have calls for cash.html and i don't have a cash.html.
I mean for cash money. Here is the idea. when they select an armor/weapon $5.00 is added to the total. then for every socket they add to it will add 2 dollars. for every option they add will make it 3 dollars per option and for legendary items is 15.00 dollars then be able to purchase the item via paypal. then after the purchase is complete submit the item to the characters Mailbox. and then when they log in they will recieve it in the mail.
Few Requests 10/25/2008 - CO2 Private Server - 2 Replies hey all i tried to make my own job center and the npcs but i have problems with the npcs so does anyone has the full working code for the job npcs
2nd request how can u make more rbs then 2 ? like that someone can rb 3-4 or more times ?
i'll appreciate every helpfull post
u can post it here or add my msn [email protected]
Some Requests 04/27/2008 - Conquer Online 2 - 0 Replies First i need To Know Whats Should I Do With The Petals And White Flowers I get From The Second Reb Quest
Second My Friend Tell me That He Upgrade The Lvl Of His Super Bow From Lvl 115 To 120 With Just 31 Meteors Not Db Is That Right
Requests---PLEASE D: 01/26/2008 - CO2 Weapon, Armor, Effects & Interface edits - 1 Replies Ok. Im getting pretty bored with the blue stuff from cyclone. I know someone has made a cyclone mod before but i didnt like it :/ It had these weird wings and it sortve ruined it. I was wondering if someone would make me a red/green cyclone which was like the winged one in this forum (cant remember what page it was-it was an old one though...).
I also play a Fire Taoist and a Trojan (hence the cyclone). Do you, the reader, think that you could make a mod that makes Taoist's Backswords glow?...
2 Requests 10/24/2006 - World of Warcraft - 3 Replies Also ich weiss nicht, wie genau das abläuft, aber ich möchte fragen, ob es geht, dass wenn ich meinen Char spiele und egal welches Equip Teil ich habe, jedesmal das gleiche andere angezeigt wird.
Also zB bei meinem Jäger.. Wenn ich nun T0 anhab, soll T1 angezeigt werden, aber auch wenn ich T2 oder was ganz anderes anhab. Und für meinen Schurken hätte ich gerne ganzes T1. Wäre toll wenn mir da jemand was machen könnte, wenn es überhaupt umsetzbar ist. Wichtiger ist mir btw der Schurke. :)
...