Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. Few Factors for all your questions... TIME = Do you have enough of this to put into running/creating a game PREPERATION = Most games on here are fly on the wall games which means, they install they run and hope for the best.. What can you offer that no-one else offers ? THINK-TANK = Most decent games have a damn good brain behind them that's why they are successful. if your game is based on Medieval then you need to be 1000% accurate at what your building everything in your game has to be associated with what the theme is about and everything within that theme needs to be accurate. Items Weapons and storyline.. (Pure Fail) a medieval game that has mention of a baseball bat will and could be the games biggest let down and if your users don't feel that your not being serious then you will lose... (Pure Genius) however a Medieval game where your Re-search regards this past has been added calculated and well thought out will be a success BUT remember NEVER fall into the pit what I mean by this is if a player has an AXE that can do 30 damage then don't have a knife that can inflict 50 Damage cos that isn't how it is..
  2. Very nice mod very very nice
  3. This is just an upgrade from Alains Barter Mod on the previous version it wasn't possible to remove items you were selling However this can now be done and items are places back into your inventory
  4. This mod will allow clans to upload a banner for their clans purely just for decorative purposes...
  5. Isomerizer is back
  6. This is actually a very nice mod well executed and does what it says on the tin.. Weldone Kyle and don't be giving me any shoutouts you did all the work :)
  7. Wasn't this tried before and failed.. Although people say they are bored/hate these forums we've all been coming here for years its a way of life now...
  8. MTG wadda guy ;) ALL praise MTG we bow to you oh holy sock oops lol Glad your back on your feet now Anthony Read you memoir and really felt for you ive been in a similar predicament but not for the duration you was in, So I feel for ya..
  9. Sent you an inbox
  10. overwrite your content.php with this one..   <?php if (! IsModerator()) { header("Location: index.php"); return; } TableHeader("Add Days"); if (isset($_POST['user'])) { if(!FindUser($_POST["user"])) { ErrorMessage("Selected user is invalid"); return; } else if (!isset($_POST['Days'])) { ErrorMessage("You must select the amount of days to give"); return; } else { $currentMembership = GetUserVariable(premiumMember); // Initial value or old membership if ($currentMembership == null || $currentMembership + 0 < time()) $currentMembership = time() + (GetConfigValue("premiumMembershipDuration", "premium") * $_POST["Days"] * 48 * 60); // Adding to the current membership else $currentMembership += (GetConfigValue("premiumMembershipDuration", "premium") * $_POST["Days"] * 48 * 60); SetUserVariable(premiumMember, $currentMembership); // REMOVED FOLLING LINES THESE ARE NOT NEEDED ANY MORE BUT WILL KEEP FOR FUTURE USE.. //$newValue = (GetUserVariable(premiumMember,$_POST["user"]) + $_POST["Days"]) + 0; //SetUserVariable(premiumMember, $newValue, $_POST["user"]); ResultMessage(Translate("New value is % s", TimeInterval(time(), GetUserVariable(premiumMember,$_POST["user"])))); } } echo "<form method='post' name='AddPremiumdays'>"; echo "<table class='plainTable'>"; echo "<tr><td width='1%' valign='top'><b>" . str_replace(" "," ",Translate("User:")) . "</b></td><td>" . SmartSelection("select id,username from users where id <> 1", "user", $userId) . "</td></tr>"; echo "<tr><td width='1%' valign='top'><b>" . str_replace(" "," ",Translate("Days:")) . "</b></td><td><input type='text' name='Days' placeholder='Amount of days'></td></tr>"; // leave below lines unedited this will come in useful for a later addition if needed.. /*if (GetUserVariable(premiumMember) == 0) { echo Translate("User has no days left"); } else echo Translate("user has %s.", TimeInterval(time(), GetUserVariable(premiumMember))) ."<br>";*/ echo "</table>"; echo "</form>"; TableFooter(); ButtonArea(); SubmitButton("Add Days", "AddPremiumdays"); EndButtonArea();
  11. Your content.php is wrong its adding by days and not by time so the userVariable is always wrong,,,
  12. I used this and im still not a premium member
  13. where have I heared the web addy deadlystreets before
  14. 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....
  15. 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...
  16. 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,,,
  17. 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..
  18. 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....
  19. Well damn that was good reading :)
  20. 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.. :)
  21. 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
  22. http://www.youtube.com/embed/XlyCLbt3Thk?rel=0
  23. 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...
×
×
  • Create New...