Jump to content
MakeWebGames

orsino

Members
  • Posts

    160
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by orsino

  1. i don't use the combat for npc combat i only use to attack other players maybe theres the problem   ( combat is NOT disabled)
  2. yes this worked thx alot
  3. i am working on adding some crimes in the effect code i have this $userStats["!Currency"]->value+=rand(2000,5000); ResultMessage("You stole the money."); here i would like that the resultmessage says how much it really added like you stole 3120 money
  4. ok will try and answer if it works   the weird thing is i only changed ap in Action Points with the text editor ( not in database ) so normally this should work
  5. my combat is working but does not take any AP and that is sinds i updated the module yesterday to translate the AP.
  6. i ha now disabled and enabled again and set to 5 min lets see what it will do   also everything is the newest version
  7. on my game i have set the log out time to 10 but its not logging me out even when i am offline for more than a hour ?
  8. Ap question there is no AP in Language editor
  9. Maybe this is a stupid question but where does AP stands for ? i know where you need it for .
  10. i have some ideas for the nw engine voting module : members can vote for the site and recieve a reward Staff page : see who is a staff member and what there job is Donator : we now have the premium but i would like if members could buy donator status with giving them extras
  11. found some french text in roulette module
  12. i want to know what i can add to the effect code like in crimes or work . meaning what lines are there to set on effect code ?
  13. In the horse racing content.php there needs to be somthing changed. On line 36 its says "Want to make a bet of winning a high amount of bars ?" This needs to be "Want to make a bet of winning a high amount of !Currency ?"
  14. that is only working on the stat bar but gives error on bank
  15. sorry thats not working
  16. The standard currency in the NW engine is gold . But i want to change that to money. i tryed with the language editor but thats not working ? Who can help me ?
  17. i voted no because this will take to mutch time . i would rather like to see that bertrand put his time in make new modules .
  18. would be nice if there is an option to send items to other players
  19. ok sorry for my bad english idea 1 : as i am adding images to all my items its a bit to mutch of the images in my inventory so i would like to only see the images of the equipped items idea 2 : if you click a item you get the info popup here i would like it if i can browse to other items like torn has hope u understand my ideas
  20. request chance in inventory Only see item images of Equipped items . Because if i have like 50 diferent items in my inventory its shows a big list of item images . Also if you check a items you see the information about it + the image . Here i would like it if i can browse al the items bye moving to left or right (like torn city has )
  21. hello i am looking for someone that can make a total new medieval knight template for the nw-engine . i will pay with paypal afther we agree on the price and when i got the template .
  22. its working thx
  23. If i want to enter the mines ( dark mine ) its says You are not allowed to enter Dark Mine currently. I want to know what do i need ( item , stats , ??? ) to enter a mine .
  24. hello this is my viewuser.php I added the marriage update but i want to have 2 little changes on my viewuser.php 1 I want the marriage part to be moved ( now its on the top of my vieuwuser above every thing else ) 2 al the info is center but i want this to be on the left of the page who whant to help me ???????? <? include "globals.php"; $housequery=1; $db->connect(); $userst=$db->query("SELECT * FROM userstats"); $usa=$db->fetch_row($userst); $ts=$usa['strength']+$usa['agility']+$usa['guard']+$usa['labour']+$usa['IQ']; $usa['strank']=get_rank($usa['strength'],'strength'); $usa['agirank']=get_rank($usa['agility'],'agility'); $usa['guarank']=get_rank($usa['guard'],'guard'); $usa['labrank']=get_rank($usa['labour'],'labour'); $usa['IQrank']=get_rank($usa['IQ'],'IQ'); $tsrank=get_rank($ts,'strength+agility+guard+labour+IQ'); $usa['strength']=number_format($usa['strength']); $usa['agility']=number_format($usa['agility']); $usa['guard']=number_format($usa['guard']); $usa['labour']=number_format($usa['labour']); $usa['IQ']=number_format($usa['IQ']); $ts=number_format($ts); $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "Invalid use of file"; } else { $q=$db->query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}"); if($r['gympass'] == 0) { $gym="<font color=red>No[/b]"; } else if($r['gympass'] == 1) { $gym="<font color=green>Yes</font>";} if($db->num_rows($q) == 0) { print "Sorry, we could not find a user with that ID, check your source."; } { $r=$db->fetch_row($q); $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $hpopp=100-$hpperc; $enopp=100-$enperc; if($r['user_level'] == 1) { $userl="Member"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if ($r['user_level'] == 3) { $userl="Secretary"; } else if($r['user_level'] == 0) { $userl="NPC"; } else {$userl="Assistant"; } $lon=($r['laston'] > 0) ?date('F j, Y g:i:s a',$r['laston']) : "Never"; $sup=date('F j, Y g:i:s a',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } print "Marital Status: "; if ($r['marriage']) { $part=$db->query("SELECT * FROM users WHERE userid={$r['marriage']}"); $pr=$db->fetch_row($part); print "Married to [url='viewuser.php?u={$pr[']{$pr['username']}[/url]"; } else { print "Single"; } print " "; if($r['donatordays']) { $r['username'] = "<font color=red>{$r['username']}</font>";$d="[img=donator.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<left><table> <tr> <td>Name:</td> <td>{$r['username']} [{$r['userid']}] $d</td> </tr> [img={$ir[] <tr> <td>User Level:</td> <td>$userl</td> </tr> <tr> <td>Duties:</td> <td>{$r['duties']}</td> </tr> <tr> <td>Gender:</td> <td>{$r['gender']}</td> </tr> <tr> <td>Days Old:</td> <td>{$r['daysold']}</td> </tr> <tr> <td>Last Action:</td> <td>$str</td> </tr> <tr> <td>Online:</td> <td>$on</td> </tr> <tr> <td>Location:</td> <td>{$r['cityname']}</td> </tr> <tr> <td>Property:</td> <td>{$r['hNAME']}</td> </tr> <tr> <td>Health:</td> <td><img src=bar_left.gif height=13><img src=bargreen.gif width=$hpperc height=13><img src=barred.gif width=$hpopp height=13><img src=bar_fil_end.gif height=13></td> </tr> </table></left> <table> <tr> <td>[[url='mailbox.php?action=compose&ID={$r[']Send Mail[/url]]</td> </tr> <tr> <td>[[url='attack.php?ID={$r[']Attack[/url]]</td> <td>[Faction:"; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r[']{$r['gangNAME']}[/url]"; } else { print "N/A]"; } print "</td> </tr> </table>"; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td>$r[lastip]</td><td>$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td>$r[lastip_login]</td><td>$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td>$r[lastip_signup]</td><td>$r[lastip_signuph]</td></tr></table>"; print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>"; } else { print " "; } print "</tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $h->endpage(); ?>
×
×
  • Create New...