Re: Script change nation.
Cabaltoolz can do this but bypassing quests is not really a good idea. Also people will just keep switching teams for TG.
If people don't actually want to play the game then why are they playing in the first place :P
Re: Script change nation.
i got this problem too, but with ingame iten.
loocks.
http://img384.imageshack.us/img384/7701/54089553.jpg
unknown item
item on the character
no len
translation of item.
Re: Script change nation.
Your item option is wrong, so your item is unknown item...
This item id and item option for change nation transmuter
Item Id : 1211, Item Option : 1317, Item Name : Black Transmuter(Pastur)
Item Id : 1212, Item Option : 1320, Item Name : Black Transmuter(Huan)
Re: Script change nation.
Quote:
Originally Posted by
myliquid
Your item option is wrong, so your item is unknown item...
This item id and item option for change nation transmuter
Item Id : 1211, Item Option : 1317, Item Name : Black Transmuter(Pastur)
Item Id : 1212, Item Option : 1320, Item Name : Black Transmuter(Huan)
item id & item option ok.
but how to use?
Re: Script change nation.
Give item to the player and right click them. They are normal game items.
Re: Script change nation.
Quote:
Originally Posted by
kinnaree
item id & item option ok.
but how to use?
just search for chumpy's GMTools, use his tool, and you will easy to give player the item, or at sql server database, open mycashitem table at cabalcash database, and input item id in itemkindidx, item option in itemopt, and input duration (1-31) in duration , and input 0 in isuse
Re: Script change nation.
Quote:
Originally Posted by
chumpywumpy
Give item to the player and right click them. They are normal game items.
Item Id : 1211, Item Option : 1317, Item Name : Black Transmuter(Pastur)
Item Id : 1212, Item Option : 1320, Item Name : Black Transmuter(Huan)
I test right click in game but nothing happens.
:(:
Re: Script change nation.
I will have to check them. They used to be broken but i thought i fixed them. Maybe not :/
Re: Script change nation.
Many server in thailand have script change nation.
/chnation.html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "hp://ww.w/xhtml1-transiional.dtd">
<html xmlns="ht://.w3.ohtml">
<head>
<meta htp-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cabal Script - Change Nation</title>
<style type="text/css">
<!--
body {
background-image: url();
font-weight: bold;
background-color: #010101;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style2 {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}
.style17 {color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
#Layer1 {
position:absolute;
left:597px;
top:252px;
width:338px;
height:256px;
z-index:1;
}
-->
</style><meta http-equiv="Content-Type" content="text/html; charset=windows-874" /></head>
<body>
<table width="800" height="600" border="0" align="center" background="img/bg.jpg">
<tr>
<td colspan="2" valign="top"><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</p>
<form id="form1" name="form1" method="post" action="chnation.php">
<table width="714" border="0">
<tr>
<td width="408" rowspan="5"> </td>
<td colspan="2"><div align="center"><span class="style2">ระบบเปลี่ยนประเทศ </span></div></td>
</tr>
<tr>
<td width="91"> </td>
<td width="201"> </td>
</tr>
<tr>
<td><span class="style17">ID</span></td>
<td><input name="id" type="text" id="id" maxlength="15" /></td>
</tr>
<tr>
<td><span class="style17">Password</span></td>
<td><input name="pass" type="password" id="pass" maxlength="15" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="ล็อกอิน" /></td>
</tr>
</table>
</form> </td>
</tr>
</table>
</body>
</html>
/chnation.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Cabal Script - Change Nation</title>
<style type="text/css">
<!--
body {
background-image: url();
font-weight: bold;
background-color: #010101;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#Layer1 {
position:absolute;
left:597px;
top:252px;
width:338px;
height:256px;
z-index:1;
}
.style20 {color: #FFFFFF}
.style21 {
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
font-size: 12px;
}
.style22 {color: #FF0000}
.style27 {font-family: Arial, Helvetica, sans-serif; color: #00FF00; font-size: 12px; }
-->
</style></head>
<body>
<table width="800" height="600" border="0" align="center" background="img/bg.jpg">
<tr>
<td colspan="2" valign="top"><br><br><br><br><br><br><br><br><br><br>
<br>
<br>
</p>
<form id="form1" name="form1" method="post" action="chnationcheck.php">
<table width="714" border="0">
<tr>
<td width="412"> </td>
<td width="292"> <table width="714" border="0">
<tr>
<td> </td>
<td colspan="3"><div align="center"><span class="style2 style22">ระบบเปลี่ยนประเทศ </span></div></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>
</td>
<td width="113"><span class="style20">ID</span></td>
<td colspan="2"><span class="style20">
<label>
998899</label>
</span></td>
</tr>
<tr>
<td></td>
<td><span class="style20">Character</span></td>
<td colspan="2"><label>
<select name="char" id="char">
</select>
</label></td>
</tr>
<tr>
<td> </td>
<td><span class="style20">Nation</span></td>
<td colspan="2"><label>
<select name="nation" id="nation">
<option value="0">Normal</option>
<option value="1">Capella</option>
<option value="2">Procyon</option>
</select>
</label></td>
</tr>
<tr>
<td> </td>
<td><input name="id" type="hidden" id="id" value="998899" />
<input name="pass" type="hidden" id="pass" value="5031b87574bad3271893dd478974bf5f" /></td>
<td colspan="2"><input type="submit" name="Submit" value="ตกลง" /></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td width="407"> </td>
<td colspan="3"><span class="style21">
<label></label>
</span> <div align="center"><span class="style27">เปลี่ยนประเทศครั้งแรก ฟรี</span><span class="style21"><br />
<span class="style22">ครั้งที่ 2 ขึ้นไปต้องใช้ Cash Point ในการเปลี่ยน</span></span></div></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</form>
</td>
</tr>
</table>
</body>
</html>
/chnationcheck.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Cabal Script - Change Nation</title>
<style type="text/css">
<!--
body {
background-image: url();
font-weight: bold;
background-color: #010101;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#Layer1 {
position:absolute;
left:597px;
top:252px;
width:338px;
height:256px;
z-index:1;
}
.style26 {color: #00FF00}
.style24 {color: #FF0000}
-->
</style></head>
<body>
<table width="800" height="600" border="0" align="center" background="img/bg.jpg">
<tr>
<td colspan="2" valign="top"><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</p>
<table width="714" border="0">
<tr>
<td width="402"></td>
<td width="302" colspan="2">
<p align="center" class="style26" >เปลี่ยนประเทศเรียบร้อยแล้ว</p><p align="center" class="style23"><a href="javascript:window.close();">ปิดหน้าต่างนี้</a></p>
Why this 3 script connect to SQL?
Re: Script change nation.
Those aren't scripts they are the html generated by scripts that somebody has saved after running the scripts.
Re: Script change nation.
This is script?
Code:
<?PHP
if (!isset($_config)) die('Ops!');
$rs = $db2->Execute('Select * from cabal_Character_table where characterIdx = ? ', array($this->id));
$char = $rs->GetArray();
if (online_check($db2,$this->id) == false) {
if ($char[0]['Nation'] != $this->opt1) {
if ($_config['ucp_allow_nation_level'] <= $char[0]['LEV']) {
if ($_config['ucp_allow_nation_pay'] <= $char[0]['Alz']) {
$rs = $db2->Execute('Update cabal_Character_table set Nation=?, Alz = Alz-? where CharacterIdx = ?', array($this->opt1,$_config['ucp_allow_nation_pay'],$this->id));
$msg = _Nation_success;
} else $msg = _Nation_no_money;
} else $msg = _Nation_no_level;
} else $msg = _Nation_no_need;
} else $msg = _Nation_online;
$msg2 = char_list($this->id);
$msg .= '<br /><br /><center><a href="javascript:form_read(\'Hero\')"><img border=0 src="includes/back.png"><br />Back to Heroes</a></center>';
$msg2 .= '<hr> Nation Change <br /> Name: '.$char[0]['Name'].' <br /> Money in Hand: '.$char[0]['Alz'].' <br /> Money Needed for Change Nation: '. $_config['ucp_allow_nation_pay'].' <hr><b> '.$msg .'</b>';
aprint('tabs-content', $msg2);
?>
Re: Script change nation.
Yes and that is part of cabaltoolz and won't work without the rest of it as it is checking the cabaltoolz config values and class function.
Re: Script change nation.
//user cp
$_config['ucp_allow_warp'] = false;
$_config['ucp_allow_nation'] = true;
$_config['ucp_pk_pay'] = 200000;
$_config['ucp_allow_nation_pay'] = 10000000;
$_config['ucp_allow_nation_level'] = 95;
$_config['nation'] = array('Neutral','Capella','Procyon','GameMaster');
Re: Script change nation.
enough of this. go learn php.