|
You last visited: Today at 15:54
Advertisement
Request| Script To Release Stuck Char
Discussion on Request| Script To Release Stuck Char within the Dekaron Private Server forum part of the Dekaron category.
01/20/2012, 22:21
|
#1
|
elite*gold: 0
Join Date: Jan 2012
Posts: 50
Received Thanks: 3
|
Request| Script To Release Stuck Char
hello,
im looking for a script thet can release stuck char and return him back to loa
thx for all.
|
|
|
01/21/2012, 07:54
|
#2
|
elite*gold: 0
Join Date: May 2008
Posts: 509
Received Thanks: 1,246
|
Why don't you just make one yourself? Here I'll even give you a head start. All you should have to do is fix the query in my code below.
PHP Code:
<?php // MSSQL Info $mssql = array( 'host' => "localhost", 'database' => "database", 'user' => "sa", 'pass' => "password" ); // Sanitize Input function anti_inject(&$input) { $input = preg_replace('/[^a-z0-9_\.]/i', '', $input); return $input; } // Build Page Controls & Functions if($_POST['activ'] == '1') { $character = anti_inject($_POST['character']); $con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']); $check = mssql_query("SELECT * FROM dbo".$database."USER_CHARACTER WHERE character_name = '".$character."'", $con); $result = mssql_num_rows($check); if(empty($character)) { echo "<center>Enter A Character Name!<br>(<a href='javascript:history.back()'>Go Back</a>)</center>"; } elseif($result == 0) { echo "<center>Character Does Not Exist!<br>(<a href='javascript:history.back()'>Go Back</a>)</center>"; } else { $update = mssql_query("UPDATE dbo.".$mssql['database'].".USER_CHARACTER SET XXX = '' WHERE character_name = '".$character."'", $con); echo "<center>Character Successfully Debuged!</center>"; } } else { echo "<center>"; echo "<form action='".$_SEVER['PHP_SELF']."' method='POST'>"; echo "Enter Character Name"; echo "<br><input type='text' name='character'>"; echo "<br><input type='hidden' name='activ' value='1'> <input type='submit' value='Debug Character'>"; echo "<br><br><i>You Must Be Logged Out Before Using!</i>"; echo "</form>"; echo "</center>"; } // Coded By Warmonger ?>
Make sure to leave credits intact.
Download:
|
|
|
01/21/2012, 10:46
|
#3
|
elite*gold: 0
Join Date: Jan 2012
Posts: 50
Received Thanks: 3
|
is not working bro the query code dont let me to change it
|
|
|
01/21/2012, 14:29
|
#4
|
elite*gold: 0
Join Date: May 2008
Posts: 509
Received Thanks: 1,246
|
Quote:
Originally Posted by RonShin
is not working bro the query code dont let me to change it
|
I updated my code, I am practically spoon feeding you. Change out the *** in the query with the name of the column that stores the characters zone. You might have to also add in the coords you wish to place them also. But really if you cant figure it out from here, then just give up.
|
|
|
01/22/2012, 02:29
|
#5
|
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
|
warmonger, ur HTML is outdated, unless you just prefer to use prehistoric HTML code . . . .
and ur anti inject function can be bypassed easily
just sayin'
|
|
|
01/22/2012, 03:47
|
#6
|
elite*gold: 0
Join Date: May 2008
Posts: 509
Received Thanks: 1,246
|
Quote:
Originally Posted by Decima
warmonger, ur HTML is outdated, unless you just prefer to use prehistoric HTML code . . . .
and ur anti inject function can be bypassed easily
just sayin' 
|
It shouldn't be inject-able the way it is, if it was MySQL based I would of used mysql_escape_string() but unfortunately its not. If you can inject it feel free to post a screenshot proving otherwise. Security is least in mind for giving out fast code, let them secure it 100% this was a 2 minute write and I wasn't going to even sanitize the input as it was. And HTML has always been HTML, new revisions only add new feature sets. So its quite impossible to use "outdated" HTML code. If it was outdated it would no longer work.
|
|
|
01/22/2012, 08:19
|
#7
|
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
|
lol, i just ment the way u are using ur tags has been deprecated, like <br> should be <br /> and such, and im not even about to show anyone how to inject it, sorry :P
and just cus the game doesnt use mysql, doesnt mean you cant
ffs man, u dont always have to be a douche bag when confronted with constructive criticism . . . .
|
|
|
01/22/2012, 09:41
|
#8
|
elite*gold: 0
Join Date: May 2008
Posts: 509
Received Thanks: 1,246
|
I think your confused between HTML and XHTML. In HTML the markup is <br> in XHTML it becomes <br />, all web browsers will parse them the same. Saying you can bypass a simple sanitize function easily, and not taking the 30 seconds to show it? Who's being a douche bag? I simply stated the obvious, seems to me your the one getting sour over nothing.
|
|
|
 |
Similar Threads
|
iBot script (getting stuck in town)
05/03/2011 - Silkroad Online - 3 Replies
Hey im having trouble with the scripting for iBot. Everytime my character comes back to town to restock before going out it gets stuck to a building rather than following the script i recorded. anybody else having this issue or is it something im doing wrong? please help. Thanks!!!
|
my char is stuck...
11/16/2010 - Silkroad Online - 6 Replies
hi there,
i was in hotan going to upgrade smth when my char got stuck in the graphics
and i couldnt fix it i exit the game and whenever i logged in again i find myself still stucked with my hp/mp boths are 0 then i get dc after few seconds
plz i need help...thx
|
[Release][GC PH] Script and Char script
10/22/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 27 Replies
Here's the Script and Char_script with yellow lines hope it helped paki crch2 na lang po kasi na delete ko ung crch2 ko if any problems paki post na lang agad
Credits to :handsdown::handsdown:Brian~ and Craymel:handsdown::handsdown:
Btw... pang range po yan pede rin ung jump attack(Down) ng Dk,ragna bolt,block attack ng Ak,jump attack ng lass ung iba ko pang d nsabi paki banggit na rin
|
script prob. stuck in storage.
01/29/2009 - Silkroad Online - 0 Replies
hi guys, im a returning agbot user and i downloaded the latest agbot. heres what i've downloaded:
agdev 4.2
agbot v2.6.0
map files etc.
anyways, i got to get it to work (used agbot last year before i stopped), but now it does store items in the storage but it does not close it and does not go to the next npc. The walkscript button is still turned on but its stuck there.
thanks. here's a part on my script:
|
script problem -> stuck in town
01/29/2009 - Silkroad Online - 1 Replies
well i see many ppl get those wierd bugs so im not alone
ive tried to run a script by agdev thingy and it runs a while in the town then stopps buffs and runs into a wall
any could have a look? would b nice =]
"//","..............^^............ .................^^..............","//&q uot;
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
|
All times are GMT +1. The time now is 15:56.
|
|