Jump to content
MakeWebGames

DeathXXX

Members
  • Posts

    162
  • Joined

  • Last visited

Everything posted by DeathXXX

  1. urmm yes it will be switched soon looking for a person o make me a good design ect .. urmm i dont mind the price but lowest gets the job and yes thanks..
  2. so i have taken on he role of new owner of battleops.net ? we will be making big changes over some time and would like to invite you all to come and join us... http://battleops.net - text based army game
  3. ill i bid £0.00000000000000000000000000000000000000000000000000001 ??
  4. no adam hehe ive worked with you for a long time... id rather not
  5. still searching for the right game to buy please state the info on the game your selling and the price or add me on skype - dylan-coleman2
  6. ive never coded css before :)
  7. only problam is coding it to css long :)
  8. very nice thanks
  9. yes and no probz its a nice mod i wouldnt say so if it was rubbish lol :)
  10. i would like someone to make me a new explore/design for my grpg game name your price or add me on skype - dylan-coleman2
  11. so if i wanted to add something in i would go to classes and add that then do it in the file i wanted to rather than just doing user_class would be $this->columnName
  12. ok i added u
  13. Hmm true how much would it cost me to pay one of you to convert daves chat mod for me?
  14. does anyone one how to convert mccodes v2 into grpg as i have plenty of paid mods i'd like to move/convert Thanks For The Support...
  15. yes i would defo use this i brought it and i found it very nice, the style and layout are the main 2 things i love the most and also the way you can do discounts ect ... i would highly recomend using Daves Mod..
  16. or try re-uploading your functions.php file or what ever it is called? i could be wrong but im guessing there in there?
  17. just post your price here.. i am looking a game to buy i dont mind what game ?
  18. depends on what you define as help i see as help as actually doing smoething usefull and helpfull gtting hold of him wont really help me or be usefull i would just like to know if any situation did accure..
  19. i was not asking for help i was asking if i could get hold of the owner
  20. yes it is mccodes i thought i posted in mccodes help my bad and i would post the code but judging from your posts id say not to but angel why do you have to be so mean like that i was simply asking for any way of contacting the owner?
  21. that the par u add in header is completely wrong in so many ways and will not fit in and i have no idea how to fix it as its not standerd php
  22. so i buy this mod http://mccodes.com/viewmod.php?id=132&sec=overview and wen i do it all it dosnt work and he leaves no details at all in any of his mods so i have no way to contact ags_cs4 has anyone got a way to get hold of him/her?...
  23. this is staff_classes.php? ok so i fixed it but when i wanted to create a class i kept getting this Whats the point of having 2 classes with the same name? > Goto Main <?php /** * MCCodes Version 2 * Copyright (C) 2013 KyleMassacere * All rights reserved. * * File: staff_classes.php * Date: Sat, 12 May 13 07:09:30 +0000 */ require_once('sglobals.php'); if ($ir['user_level'] != 2) { echo 'You cannot access this area. > <a href="staff.php">Go Back</a>'; die($h->endpage()); } if (!isset($_GET['action'])) { $_GET['action'] = ''; } switch ($_GET['action']) { case "addclassform": addclassform(); break; case "addclasssub": addclassSub(); break; case "editclassform": editclassform(); break; case "editclasssub": editclassSub(); break; case "selectclass": selectclass(); break; default: echo "Error: This script requires an action."; break; } function addclassSub() { global $db, $ir, $c, $h, $userid; $money = filter_var($_POST["money"],FILTER_VALIDATE_INT); $crystals = filter_var($_POST["crystals"],FILTER_VALIDATE_INT); $name = filter_var($_POST["class"],FILTER_SANITIZE_STRING); $strength = filter_var($_POST["strength"],FILTER_VALIDATE_INT); $guard = filter_var($_POST["guard"],FILTER_VALIDATE_INT); $agility = filter_var($_POST["agility"],FILTER_VALIDATE_INT); $iq = filter_var($_POST["iq"],FILTER_VALIDATE_INT); $labor = filter_var($_POST["labor"],FILTER_VALIDATE_INT); if (isset($name)) { $q = $db->query("SELECT COUNT(*) FROM player_class WHERE classNAME = '{$name}'") or die(mysqli_error()); if ($db->fetch_single($q) > 0) { echo 'Whats the point of having 2 classes with the same name? > <a href="staff.php">Goto Main</a>'; die($h->endpage()); } else { $insert = $db->query("INSERT INTO player_class(classNAME, money, crystals, strength, guard, agility, iq, labor) VALUES('$name', '$money', '$crystals', '$strength', '$guard', '$agility', '$iq', '$labor')"); echo 'Player Class: ' . $name . ' added to the game.> <a href="staff.php">Goto Main</a>'; stafflog_add("{$ir['username']} Created Player Class: $name"); } } } function addclassform() { global $db, $ir, $c, $h, $userid; echo " <h3>Add Class</h3> <hr /> <form action='staff_classes.php?action=addclasssub' method='post'> Name: <input type='text' name='name' placeholder='Name Here' /> Money: <input type='text' name='money' value='0' /> Crystals: <input type='text' name='crystals' value='0' /> Strength: <input type='text' name='strength' value='0' /> Guard: <input type='text' name='guard' value='0' /> Agility: <input type='text' name='agility' value='0' /> IQ: <input type='text' name='iq' value='0' /> Labor: <input type='text' name='labor' value='0' /> <input type='submit' value='Add Class' /> </form> "; } function editclassSub() { global $db, $ir, $c, $h, $userid; $id = filter_var($_POST["id"],FILTER_VALIDATE_INT); $money = filter_var($_POST["money"],FILTER_VALIDATE_INT); $crystals = filter_var($_POST["crystals"],FILTER_VALIDATE_INT); $name = filter_var($_POST["class"],FILTER_SANITIZE_STRING); $strength = filter_var($_POST["strength"],FILTER_VALIDATE_INT); $guard = filter_var($_POST["guard"],FILTER_VALIDATE_INT); $agility = filter_var($_POST["agility"],FILTER_VALIDATE_INT); $iq = filter_var($_POST["iq"],FILTER_VALIDATE_INT); $labor = filter_var($_POST["labor"],FILTER_VALIDATE_INT); if (empty($id)) { echo 'Something went wrong. > <a href="staff.php">Goto Main</a>'; die($h->endpage()); } $q = $db->query("SELECT classID FROM `player_class` WHERE `classNAME` = '{$name}' AND `classID` != {$_POST['id']}"); if ($db->num_rows($q) >= 1) { echo 'Sorry, you cannot have two classes with the same name.> <a href="staff.php">Goto Main</a>'; die($h->endpage()); } $db->query("UPDATE `player_class` SET `classNAME` = '$name', `money` = '$money', `crystals` = '$crystals', `strength` = '$strength', `guard` = '$guard', `agility` = '$agility', `iq` = '$iq', `labor` = '$labor' WHERE `classID` = {$_POST['id']}"); echo 'Class ' . $name . ' was edited successfully. > <a href="staff.php">Goto Main</a>'; stafflog_add("{$ir['username']} Edited Class: $name"); } function editclassform() { global $db, $ir, $c, $h, $userid; $id = filter_var($_POST["id"],FILTER_VALIDATE_INT); if (empty($id)) { echo 'Something went wrong. > <a href="staff.php">Goto Main</a>'; die($h->endpage()); } $q = $db->query("SELECT classID, classNAME, money, crystals, strength, guard, agility, iq, labor FROM player_class WHERE classID = {$id}"); if ($db->num_rows($q) == 0) { echo 'Class doesn\'t exist. > <a href="staff.php">Goto Main</a>'; die($h->endpage()); } $old = $db->fetch_row($q); echo " <h3>Editing a Player Class {$id}</h3> <hr /> <form action='staff_classes.php?action=editclasssub' method='post'> <input type='hidden' name='id' value='{$id}' /> Name: <input type='text' name='class' value='{$old['classNAME']}' /> Money: <input type='text' name='money' value='{$old['money']}' /> Crystals: <input type='text' name='crystals' value='{$old['crystals']}' /> Strength: <input type='text' name='strength' value='{$old['strength']}' /> Guard: <input type='text' name='guard' value='{$old['guard']}' /> Agility: <input type='text' name='name' value='{$old['agility']}' /> IQ: <input type='text' name='name' value='{$old['iq']}' /> Labor: <input type='text' name='name' value='{$old['labor']}' /> <input type='submit' value='Edit Class' /> </form> "; } function selectclass() { global $db, $ir, $c, $h, $userid; echo " <h3>Editing a Class</h3> <hr /> <form action='staff_classes.php?action=editclassform' method='post'> Class: " . class_dropdown(NULL, "id") . " <input type='submit' value='Edit Class' /> </form>"; } ?>[/Code]
  24. sorry i do not understand that ?/ could u make it clearer please?...
  25. basically i dont know were to add it and if i do add it in register ie this print " <tr> <td>Player Class</td> <td colspan='2'>".class_dropdown(NULL, "classID")." </td> </tr>"; I it dont work i get this error Fatal error: Call to undefined function class_dropdown() in /home/mafiali2/public_html/register.php on line 339 and on that line is this <td colspan='2'>".class_dropdown(NULL, "classID")."
×
×
  • Create New...