Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,701
  • Joined

  • Last visited

  • Days Won

    88

Everything posted by Uridium

  1. line 14 >>> $query = mysql_query("SELECT * FROM users WHERE username='$username'" change to $query = mysql_query("SELECT * FROM users WHERE username='$username'"); line 45 >>> die ("Please enter a username and password change to die ("Please enter a username and password");
  2. Merged ?? as long as i dont end up looking like DJ or Nickson im ok with it ;)
  3. Damn i thought this topic was about the TV Programme called "The Real Hustle" was about to add my many comments ;)
  4. Welcome to MWG booher and welcome to your new home :)
  5. Mods for the NEW Worlds Engine are being built as we speak. Ive sent Bert a copy today of one to which hes liked so will be adding to market the mod created last night was purely from the dev version and made it easier to create.
  6. Im not sure what your all complaining about (well not everybody) but a select few I think youve got this vision in your minds that this engine isnt what like another one offers thats cos this one isnt the other engine..
  7. Where on the admin panel are you when this happens which section and link example Administration function Items Configuration Keys Tables Modules Installer //////
  8. dont mccodes have an event_add function ?? check global_func.php search for event_add
  9. is that the correct link im getting nothing ..
  10. Im still getting stuck on things and have to relate to other files to help me out. So theres a hint for you if your stuck on one thing maybe a script somewhere else in the engine can shed some light onto your problem :)
  11. Yep i have to agree get used to the engine first and work out the functions i know from mods iv'e made for NWE that they are checked by Alain and if he aint happy with something its back to the drawing board which is damn good cos it emans no crappy mods are being placed into a well written engine..
  12. hey that messagin system is my baby lol
  13. Iv;e had the pleasure of seeing first hand at what SirChick can do and i have to say im very excited about seeing this engine..
  14. for those wanting to develop even buying a licence at $100 and creating your own mods your still benefitting if your mods sell. mods for the engine are easy enough to develop and you could see your return in paid mods will cover the price of the engine.. I dont recall other licened engines giving a skeleton version for mod creations cos this would mean you could build on it and have yourself a free copy unless im misreading what people are asking...
  15. I have to say whilst ive worked on this New Worlds engine with Bert. The overall potential is mind boggling anyone who knows me and the mods ive created for another engine, will be blown away at what this thing you can do, Iv'e always thought outside the box when making mods, but this one has just so much more to offer. Usually my scripts are something like 500 - 600 lines long and require a fair few link pages to make it work. I was amazed when doing mods for New Worlds one page no link pages and it did everything i wanted it to do. You dont have edit previous scripts to add links to the menu cos the system just finds a new mod package and recognises it as a mod that needs a link and does it. the variables make it even easier when writing new mods cos you dont have to create your own you can use whats already on offer for countless number of scripts and they fit snuggly into the pages. Your newly created mod once done if it dont work thats fine turn it off from the admin panel correct the script JUST for that mod you dont need to alter any other ingame pages and your back in action.. whats been achieved here and for the price is mesmerizing. And the ability to make cash from your mods by uploading to the market is a brilliant idea. Damn thing even keeps you upto date on new mods new additions to improved mods and plenty more. One of the best ive seen and worked with weldone bert.. :)
  16. Yeah i seem to be having same issue with notepad++ did mention it on their boards but they never got back to me.
  17. Dave who! never heared of him ;) but always nice to read positive feedback regards an MWG member weldon Dave keep up the brilliant work and plenty more reviews on your behalf
  18. heres a prime example...   <?phpsession_start();if($_SESSION['user']['level'] < 5){ echo 'not allowed...';}else{ echo 'test'; if(isset($_POST['submitForm'])) { //check for errors (dont know why) if(empty($_POST['textName'])) { $msg = "Name was left blank..."; } if(empty($_POST['textDesc'])) { $msg .= "Description was left blank..."; } //if no errors if(empty($msg)) { addItem(); } } echo 'here'; echo $msg;?><form name="form1" action="" method="post" enctype="multipart/form-data"><table width="100%" border="0"> <tr> <td><strong>Thumbnail:</strong></td> <td><input type="file" name="fileThumb" /></td> </tr> <tr> <td><strong>Name:</strong></td> <td><input type="text" name="textName" value="<? echo $name; ?>"></td> </tr> <tr> <td><strong>Type:</strong></td> <td> <select name="selectType"> <option value="1">Equipable</option> <option value="2">Token</option> <option value="3">Breeding</option> <option value="4">Quest</option> </select> </td> </tr> <tr> <td><strong>Searchable:</strong></td> <td> <select name="selectSearch"> <option value="1">Yes</option> <option value="0">No</option> </select> </td> </tr> <tr> <td><strong>Description:</strong></td> <td><textarea name="textDesc" rows="4"><? echo $desc; ?></textarea></td> </tr> <tr> <td><strong>If Item equipable (file that goes in imagegen/1/):</strong></td> <td><input type="file" name="fileItem1" /></td> </tr> <tr> <td><strong>If Item equipable (file that goes in imagegen/2/):</strong></td> <td><input type="file" name="fileItem2" /></td> </tr> <tr> <td><strong>If Item equipable (file that goes in imagegen/3/):</strong></td> <td><input type="file" name="fileItem3" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td><input name="submitForm" type="submit" id="submitForm" value="Add Item"></td> </tr></table></form><?} function imageUpload($file, $path, $name){ $imageinfo = getimagesize($file['file']['tmp_name']); list($width, $height) = getimagesize($file['file']['tmp_name']); $userid = $_SESSION['userID']; $file_typ = array(); $file_typ = explode('.',strtolower($file["file"]["name"])); $file_type = "." . $file_typ[count($file_typ)-1]; echo $file["file"]["name"]; //only allow jpg, png, gif if((($file_type == ".jpg") || ($file_type == ".png") || ($file_type == ".gif")) && (($imageinfo['mime'] == "image/jpg") || ($imageinfo['mime'] == "image/jpeg") || ($imageinfo['mime'] == "image/png") || ($imageinfo['mime'] == "image/gif")) && isset($imageinfo)) { if(move_uploaded_file($file["file"]["tmp_name"],$path . $name . $file_type)) { return true; } else { return false; } }}function addItem(){ //secure input into database, never know who may gain admin access then screw your db up =) $name = mysql_real_escape_string($_POST['textName']); $desc = mysql_real_escape_string($_POST['textDesc']); $type = mysql_real_escape_string($_POST['selectType']); $search = mysql_real_escape_string($_POST['selectSearch']); $namer = strtolower(str_replace(" ", '', $name)); echo $namer; $img_name = imageUpload($_FILES["fileThumb"], "static/items/", $namer); if(imageUpload($_FILES['fileItem1'], "static/imagegen/1/", $namer) == false) { $msg = "Upload Image items/1/ failed..."; } if(imageUpload($_FILES['fileItem2'], "static/imagegen/2/", $namer) == false) { $msg .= "Upload Image items/2/ failed..."; } if(imageUpload($_FILES['fileItem3'], "static/imagegen/3/", $namer) == false) { $msg .= "Upload Image items/3/ failed..."; } if(empty($msg)) { //insert item } else { echo 'testtt'; }}
  19. SIM are you working offline with this or on a server ? if your working on a server Download the suspect file to a new place copy all the TEXT from it open windows notepad and see if the layout of the code is fine.. If the layout is all on line 1 then your file is corrupt and will need resetting out example spacing and breaks...
  20. Have seen this in action and have to say its very very clever well done Cronus :)
  21. Theres an old saying that springs to mind "Time is a great Healer" :)
  22. your Table shows as users_courses yet some parts refer to users_course Just too make people aware..   6. line 5 needs editing from cdays to crDAYS 10. needs to be users_courses 12. need to be users_courses
  23. Thread closed...
  24. Would anyone argue if i closed this thread for being pure bollox ?
  25. Ive had this issue with a template aswell i tried everything just like you infact in the end i think i Binned it...
×
×
  • Create New...