
thedestroyer
Members-
Posts
277 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by thedestroyer
-
Securing session hijacking on login
thedestroyer replied to thedestroyer's topic in Modification Support
maybe i explained wrong then. What i mean is you can login as another player. -
Securing session hijacking on login
thedestroyer replied to thedestroyer's topic in Modification Support
wtf if youcouldnt stop it there wouldnt be any games around..... -
Does anyone know to to stop session hijacking on the login page?
-
thanks
-
How can i stop stat bars e.g th energy overstretching if you get more energy than ya maxenergy?
-
Need help with crime image positions
thedestroyer replied to thedestroyer's topic in Modification Support
I just get errors -
Need help with crime image positions
thedestroyer replied to thedestroyer's topic in Modification Support
ok thanks -
Need help with crime image positions
thedestroyer replied to thedestroyer's topic in Modification Support
Heres an example http://s658.photobucket.com/albums/uu303/firecamp555/?action=view¤t=example.jpg -
Need help with crime image positions
thedestroyer replied to thedestroyer's topic in Modification Support
Its hard to explain hang on i will do an example ;) -
Need help with crime image positions
thedestroyer replied to thedestroyer's topic in Modification Support
Image Search for money <space for rest of image>2 Nerve Required" but so they are both in line with th image -
Hi i have tried to get the nerve required part so it shows besides the crime image not underneath but so it is still below the crime name so the image goes right to the bottom of its row. Heres the image. http://s658.photobucket.com/albums/uu303/firecamp555/?action=view¤t=criminal-1.jpg and this is the part of the code print "<tr style=\"background-color: $color;\"> <td>{$r['cgNAME']} <font color=red size=1>{$r2['minimum']} Nerve Required</p></font></td> <td align=center><input type='radio' name='group' value='{$r['cgID']}' onclick=\"javascript:this.form.submit();\"/></td></tr>\n"; Thanks in advance.
-
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
sorted thanks a bunch =D -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
ok heres the example http://s658.photobucket.com/albums/uu303/firecamp555/?action=view¤t=table.jpg -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
yes hang on i will get one -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
it does leave gaps :( -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
This one seems to leave large gaps between each table column =/ -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
ok ok thanks -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
I still cant seem to do any other files =( -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
thanks a bunch mate. Stripey tables are the most annoying codes for me X( -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
ok this is what i have so far but the colours do not alternate function job_index() { global $db, $ir,$c,$userid,$h; Doing('Viewing their Job'); //if you have an anti-macro uncomment this line. it should just work, as long as the field in the users table is called validated, otherwise you will just have to change that. //if ( $ir['validated'] == 0 ) { header("Location: macro.php?ref=".urlencode($_SERVER['PHP_SELF'])); exit; } //do you want the table rows to alternate back and forth between colors to make things easier on players? 1=yes, 0=no $alternate_colors=1; //odd row color $odd="#cccccc"; //even row color $even="#DFDFDF"; print "<h3>[i]Your Job</h3> </marquee> <hr width=80%> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} and {$ir['jrPOINTS']} Job Points each day at 9pm UK time! You also receive {$ir['jrIQG']} IQ, {$ir['jrENDURANCEG']} Endurance, and {$ir['jrLABOURG']} labour! </marquee> <hr width=80%> <table width=50% cellspacing=1 class='table'><tr><td>Endurance: {$ir['endurance']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Points: {$ir['jobpoints']}</td><td> Job Rank: {$ir['jrNAME']}</td></tr></table> <hr width=80%>"; $num+=1; if($alternate_colors==1) { if ($num % 2) { $color="$even"; } else { $color="$odd"; } } print "[b]Job Ranks[/b] <table width='75%' tr style=\"background-color: $color;\" border='0' cellspacing='0'><tr bgcolor=#999999><th><div align=left>Rank</th><th><div align=left></th><th><div align=left>Endurance Needed</th><th><div align=left>IQ Needed</th><th><div align=left>Labour Needed</th></tr>"; $q=$db->query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;"); -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
i cant use that. I need to use the codes from the ajax crimes script. -
Need help making stripey tables
thedestroyer replied to thedestroyer's topic in Modification Support
Sorry but how do i fit that in to my code? -
Hi I recently got the ajax crimes script and tried to take out the code making the stripey tables and putting it into job.php to make the job rank tables stripey but it didnt work would someone be able to help me please? Here is an example of what i mean by stripey tables Check the link below thanks. http://i658.photobucket.com/albums/uu303/firecamp555/points.jpg this is the part that needs editing thanks. function job_index() { global $db, $ir,$c,$userid,$h; Doing('Viewing their Job'); print "<h3>[i]Your Job</h3> </marquee> <hr width=80%> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} and {$ir['jrPOINTS']} Job Points each day at 9pm UK time! You also receive {$ir['jrIQG']} IQ, {$ir['jrENDURANCEG']} Endurance, and {$ir['jrLABOURG']} labour! </marquee> <hr width=80%> <table width=50% cellspacing=1 class='table'><tr><td>Endurance: {$ir['endurance']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Points: {$ir['jobpoints']}</td><td> Job Rank: {$ir['jrNAME']}</td></tr></table> <hr width=80%> [b]Job Ranks[/b] <table width='75%' border='0' cellspacing='0'><tr bgcolor=#cccccc><th><div align=left>Rank</th><th><div align=left></th><th><div align=left>Endurance Needed</th><th><div align=left>IQ Needed</th><th><div align=left>Labour Needed</th></tr>"; $q=$db->query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;"); while($r=$db->fetch_row($q)) { print "<tr><td>{$r['jrNAME']}</td><td>Income: $".number_format($r['jrPAY'])." Per Day</td><td>{$r['jrENDURANCEN']}</td><td>{$r['jrIQN']}</td><td>{$r['jrLABOURN']}</td></tr>"; } print "</table> [url='job.php?action=promote'][/url] [url='job.php?action=quit']<hr width=80%>[/url]"; } $js=$db->query("SELECT * FROM jobspecials WHERE jsJOB={$ir['job']} ORDER BY jsID ASC;",$c); print "[b]<table width=80% cellspacing=0 class='table'><tr><td><center>Specials unlocked:[/b] <form action='specials.php' method='post'> <table width=100% cellspacing=0 class='table'> <tr> <th><font color=></font></th> <th><font color=></font></th> <th><font color=></font></th></tr>"; if($db->num_rows($js) == 0) { print "<tr class='row$current_row'><td colspan=3>This Job has no Specials</td></tr>"; $current_row = 1 - $current_row; } while($sp=$db->fetch_row($js)) { print "<tr class='row$current_row'><tr style=\"background-color: $color;\"><td><font color=>{$sp['jsNAME']} <font color=red>-{$sp['jsCOST']} Job Points</td><td><font color=#><center></font></td><td><center><input type='radio' name='ID' value='{$sp['jsID']}' /><onclick=\"javascript:this.form.submit();\"/></td></tr>"; $current_row = 1 - $current_row; } print "<tr> <td colspan=3><div align=center><input type='submit' value='Purchase'></div></td> </tr></table></form>"; print "</table> <hr width=80%> [url='job.php?action=promote']> Try To Get Promoted[/url] [url='job.php?action=quit']> Quit[/url] <hr width=80%>";
-
Richards Business Mod--Fixed With a few Things added.
thedestroyer replied to Joshua's topic in Free Modifications
director changing Can someone add a way so you can change the company director thanks -
Help needed with attack system please
thedestroyer replied to thedestroyer's topic in General Discussion
Ok its just i have never seen a formula like that thats why i wasnt sure thanks.