Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,701
  • Joined

  • Last visited

  • Days Won

    88

Everything posted by Uridium

  1. where have I heared the web addy deadlystreets before
  2. Things I would like to see on NWE is an option to (install module now or install module later) From the admin Panel Modules to Upgrade and Modules Available section....
  3. MAILING SYSTEM: Users who are not Premium Members can send messages but cannot send cash or items from a message. Premium members can send cash or items to a member that is not a premium member.. but the none premium member cannot collect the cash or items until they have become a Premium Member.. Premium members who send cash/items to a none Premium member can Cancel their items/cash sent if the none Premium member doesn't upgrade their account... LOG reports for sending of items/cash are now logged for sender to view their transfers These will tell you if any Items have been accepted or are still dormant for you too collect back.. ADMIN can block transfers if they feel that a conspiracy is happening between sender and receiver...   A few more modules are being worked on Im still tinkering with those for the moment...
  4. I have seen in some instances where a TEXT MESSAGE is sent to a users mobile/cell phone with a 5 digit pin number to be entered after registering this would be an idea,,,
  5. im assuming your going for free hosting before the 1 - 3 months and trying to get 1,000 within that period on free hosting.. Erm im gonna wsh you luck with that one..
  6. Yep have to admit RC is no clone of MCC its a lot more robust and easy to work with, the Security side of it seems to have taken precedence over the project and having quite a few people test for holes in script claimed no injection or errored problems. I do feel however that in some cases the engine could do far more. and I felt it quite a challenge on some occasions to understand why every engine has to be mafia/gang related....
  7. Well damn that was good reading :)
  8. I personally enjoyed creating new mods for MCCODES, sometimes id wake up with an idea that was bugging me and had to get to work on it before I forgot it, hehe those were the days of none sleep, and constant coffee's. It wasn't the fact I enjoyed none sleep or even what I created it was something more important and that was it was sometimes a challenge. and could take some time for me to create it which also whiled the hours away. but the getup and go for me has dwindled somewhat and I seem to be concentrating more on home life than what was going on in here. However there are some damn decent engines engines on here to get my teeth into and im always willing to help out where needed.. :)
  9. this is just a copy and paste for clans it will allow those who have asked to join a clan the chance to Cancel their own request incase Clan owner doesn't respond.. clans/content.php   <?php global $clanName,$memberOf,$clanRole; $memberOf = 0; $clanRole = 0; if ($memberOf == 0 && isset($_GET["cmd"]) && $_GET["cmd"] == "create_clan") { if (isset($_POST["name"]) && isset($_POST["desc"])) { if ($userStats["!Currency"]->value < intval(GetConfigValue("clansCreationCost"))) { ErrorMessage("You don't have enough !Currency."); } else { $allOk = true; $result = $db->Execute("select id from clans where name = ? limit 0,1", $_POST["name"]); if (! $result->EOF) { $allOk = false; ErrorMessage("This clan name is already used. Choose another one."); } $result->Close(); if ($allOk) { $db->Execute("insert into clans(name,description) values(?,?)", $_POST["name"], $_POST["desc"]); $clanId = $db->LastId(); $db->Execute("insert into clans_roles(user_id,clan_id,role_id) values(?,?,?)", $userId, $clanId, 1000); $userStats["!Currency"]->value -= intval(GetConfigValue("clansCreationCost")); ResultMessage("Your clan has been created. Please wait for the reload."); echo "<script>setTimeout(\"document.location='index.php?p=clans';\",1000);</script>"; return; } } } TableHeader("Create new clan"); echo "<form method='post' name='frmCreateClan'>"; echo Translate("Creation of a clan costs %d !Currency.", GetConfigValue("clansCreationCost")); echo "<table class='plainTable'>"; echo "<tr><td width='1%'><b>" . str_replace(" ", " ", Translate("Clan name")) . ":</b></td>"; echo "<td><input type='text' name='name' value='" . (isset($_POST["name"]) ? htmlentities($_POST["name"]) : "") . "'></td></tr>"; echo "<tr><td width='1%' valign='top'><b>" . str_replace(" ", " ", Translate("Description")) . ":</b></td>"; echo "<td><textarea type='text' name='desc' rows='5'>" . (isset($_POST["desc"]) ? htmlentities($_POST["desc"]) : "") . "</textarea></td></tr>"; echo "</table>"; echo "</form>"; TableFooter(); ButtonArea(); if ($userStats["!Currency"]->value >= intval(GetConfigValue("clansCreationCost"))) SubmitButton("Pay", "frmCreateClan"); LinkButton("Cancel", "index.php?p=clans"); EndButtonArea(); return; } $result = $db->Execute("select clan_id, role_id from clans_roles where user_id = ?", $userId); if (! $result->EOF) { $memberOf = $result->fields[0] + 0; $clanRole = $result->fields[1] + 0; } $result->Close(); if ($clanRole == 0 && isset($_GET["cmd"]) && $_GET["cmd"] == "canceljoin") { global $db, $userId; $db->Execute("select user_id from clans_roles where user_id = ?", $userId); //$db->Execute("update clans set memb_count=memb_count - 1 where id = ?", $memberOf); $db->Execute("delete from clans_roles where user_id = ? limit 1", $userId); if (function_exists("SendMessage")) Translate("Clan Request Cancelled"); Translate("You chose to cancel your clan request.."); ResultMessage("Your request to cancel from this clan has been granted."); echo "<script>setTimeout(\"document.location='index.php?';\",3000);</script>"; return; } // Ask to join if ($memberOf == 0 && isset($_GET["cmd"]) && $_GET["cmd"] == "join") { $result = $db->Execute("select name from clans where id = ?", $_GET["id"] + 0); if ($result->EOF) { header("Location: index.php?p=clans"); $result->Close(); return; } $clanName = $result->fields[0]; $result->Close(); $db->Execute("insert into clans_roles(clan_id,role_id,user_id) values(?,?,?)", $_GET["id"], 0, $userId); $memberOf = $_GET["id"] + 0; $clanRole = 0; // Send message to all clans masters if (function_exists("SendMessage")) { $result = $db->Execute("select user_id from clans_roles where clan_id = ? and role_id = 1000", $_GET["id"]); while (! $result->EOF) { SendMessage($result->fields[0], Translate("%s asked to join %s", $username, $clanName), Translate("%s asked if he could join the clan %s. If you want to accept they or refuse they, please head to the clans admin panel.", $username, $clanName)); $result->MoveNext(); } $result->Close(); } } // Waiting approval if ($memberOf != 0 && $clanRole == 0) { TableHeader("Waiting approval"); echo Translate("Your request has been sent to the clan masters, you now need to wait."); TableHeader("status"); $result = $db->Execute( "select users.id, users.username, clans_role_types.name from clans_roles left join users on clans_roles.user_id = users.id left join clans_role_types on clans_roles.role_id = clans_role_types.id where clans_roles.clan_id = ? order by clans_roles.role_id desc, users.username LIMIT 1", $memberOf); echo "<table class='plainTable'>"; echo "<tr class='titleLine'><td>" . str_replace(" ", " ", Translate("Clan Owner")) . "</td><td>" . str_replace(" ", " ", Translate("Status")) . "</td><td>" . str_replace(" ", " ", Translate("Option")) . "</td></tr>"; $row = 0; while (! $result->EOF) { if($row%2 == 0) echo "<tr class='evenLine'>"; else echo "<tr class='oddLine'>"; if(in_array("view_player",$modules)) echo "<td><a href='index.php?p=view_player&id={$result->fields[0]}'>{$result->fields[1]}</a></td>"; else echo "<td>{$result->fields[1]}</td>"; echo "<td>{$result->fields[2]} </td>"; echo "<td width='2%'>"; LinkButton("Cancel Request", "index.php?p=clans&cmd=canceljoin"); echo "</td>"; echo "</tr>"; $result->MoveNext(); $row ++; } echo "</table>"; TableFooter(); } // Not member, may join? if ($memberOf == 0) { TableHeader("List of available clans"); echo "<table class='plainTable'>"; $result = $db->Execute("select id,name,description from clans order by name"); $row = 0; while (! $result->EOF) { if ($row % 2 == 0) echo "<tr class='evenLine' valign='top'>"; else echo "<tr class='oddLine' valign='top'>"; echo "<td width='1%'>"; LinkButton("Join", "index.php?p=clans&cmd=join&id={$result->fields[0]}"); echo "</td>"; echo "<td>" . htmlentities($result->fields[1]) . "</td>"; echo "<td>" . PrettyMessage($result->fields[2]) . "</td>"; echo "</tr>"; $row ++; $result->MoveNext(); } $result->Close(); echo "</table>"; TableFooter(); ButtonArea(); LinkButton("Create your own clan", "index.php?p=clans&cmd=create_clan"); EndButtonArea(); return; } if ($memberOf != 0 && $clanRole != 0) { $result = $db->Execute("select name from clans where id = ?", $memberOf); $clanName = $result->fields[0]; $result->Close(); global $menuEntries; $menuEntries = array(); RunHook("clans_menu.php", "menuEntries"); MenuEntry::Sort($menuEntries); echo "<table class='plainTable'>"; echo "<tr valign='top'><td width='1%'>"; TableHeader("Clan Menu"); foreach ($menuEntries as $entry) { if (strncmp($entry->link, "index.php", 9) == 0) echo "<a href='{$entry->link}'>" . Translate($entry->label) . "</a><br>"; else echo "<a href='index.php?p=clans&c={$entry->link}'>" . Translate($entry->label) . "</a><br>"; } TableFooter(); echo "<img src='{$webBaseDir}images/separator.gif' width='180' height='1'>"; echo "</td>"; echo "<td>"; if (isset($_GET["c"]) && in_array($_GET["c"], $modules) && file_exists("$baseDir/modules/" . $_GET["c"] . "/in_clans.php")) { include "$baseDir/modules/" . $_GET["c"] . "/in_clans.php"; } else { echo "<div class='box'>"; RunHook("clan_home.php",array("clanName","memberOf","clanRole")); echo "</div>"; RunHook("clan_home_special.php",array("clanName","memberOf","clanRole")); } echo "</td></tr>"; echo "</table>"; }   Preview image is available... ** FOOTNOTE ** this version of the clans script is that of version 1.0.3
  10. http://www.youtube.com/embed/XlyCLbt3Thk?rel=0
  11. I wouldn't make an Iframe version this would deem the person in te chat to stay on that page resulting in no other pages being viewed.. However you could just use a link that grabs user name and pass and would log then ibto your chosen WSIRC channel as I have done before...   <a href=\"http://www.wsirc.com/?username=$me[displayname]&server=binary.ipocalypse.net%3A6667&channel=%23RP&autojoin=true&color=%23C0C0C0&dark=false\" target=\"blank\">Chat</a><br/>   This was a code I used whilst creating wizwych engine...
  12. Those Modules are ones I made and yep can be transferred to any other upgraded NWE engine...
  13. I don't have a CV that states what qualifications im able to work with IE, html,php,css and so on yet I build mods every day for game engines of all types and a CV hasn't stopped me from doing this ????
  14. tell me about it only way i can copy any code on here is if i go into edit mode on a persons post then copy it that way...
  15. Nicely done thank you AnonymousUser + 1000 :)
  16. easiest way would be to add a new Table called race_stats and have it grab the race, userid, and which stats so when needed stats can be updated via an attack loss/win or when a cron runs
  17. nicely done bert :)
  18. my version doesnt require a new sql it just grabs info from the house level
  19. you can if ya wish matey :) can i also suggest option to downgrade an house aswell as upgrade
  20. Someone requested that the houses have images so will soon be uploading the module to the market but heres a few screenies
  21. Iv'e created a MOD that will allow house image's to be displayed works on same basis as the admin_inventory_upload file...
  22. once you have added your paypal email address to NWE and have setup sandbox to true heres a video that will guide you through the steps of setting up your accounts as buyer and seller..  
  23. thought id do another using the furthest away server that speednet has to offer http://www.speedtest.net/result/2539415358.png
×
×
  • Create New...