Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. 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,,,
  2. 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..
  3. 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....
  4. Well damn that was good reading :)
  5. 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.. :)
  6. 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
  7. http://www.youtube.com/embed/XlyCLbt3Thk?rel=0
  8. 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...
  9. Those Modules are ones I made and yep can be transferred to any other upgraded NWE engine...
  10. 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 ????
  11. 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...
  12. Nicely done thank you AnonymousUser + 1000 :)
  13. 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
  14. nicely done bert :)
  15. my version doesnt require a new sql it just grabs info from the house level
  16. you can if ya wish matey :) can i also suggest option to downgrade an house aswell as upgrade
  17. Someone requested that the houses have images so will soon be uploading the module to the market but heres a few screenies
  18. Iv'e created a MOD that will allow house image's to be displayed works on same basis as the admin_inventory_upload file...
  19. 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..  
  20. thought id do another using the furthest away server that speednet has to offer http://www.speedtest.net/result/2539415358.png
  21. http://www.speedtest.net/result/2539408792.png
  22. Hi Alain before we start with the geek speak tell me a bit about what you do on a professional level.. <a_bertrand> I'm 39Y old, live in Switzerland and work full time as project leader and developer in a gov research institute here in Switzerland. <a_bertrand> I develop web applications, integrate different data sources <a_bertrand> offer custom visualization systems <a_bertrand> develop a monitoring system <a_bertrand> and, a specialized routing software. <a_bertrand> I use normally C# / .NET on windows system while it happens I need to switch back to PHP, Python, C or other languages <a_bertrand> as well as run some software on Linux   When did you first become interested in computing/Programming and was it your first choice as a career move.. <a_bertrand> I started programming at the age of 12, with Basic on a sharp MZ700 <a_bertrand> http://www.sharpmz.org/mz-700/first700.htm <a_bertrand> was doing some pretty stupid programs involving bips and drawing stuff with the integrated plotter <a_bertrand> I got then access to a PC... quiet a couple of years after <a_bertrand> still in Basic, then switched to Turbo C (Borland) <illusions> What was your first computer you ever owned. ? for me it was the zx spectrum but what was Alain doing back in the 80s when most the kids were playing outside ?? <a_bertrand> As career I started working for a bank when I was 17 <a_bertrand> as apprentice, and stayed 5 years there <a_bertrand> The first computer I owned was a PC... the others was from my grand dad (the MZ 700) and the PC was owned by my dad <a_bertrand> but doing the apprenticeship I was able to put aside some money and buy my own personal PC. <a_bertrand> Dos and windows 3.1 if I remember right <a_bertrand> actually maybe even without windows XD <illusions> where they the old green monitor types ? <a_bertrand> amber was the color of the first PC <illusions> I remember the green screens lol <a_bertrand> the first colors on my PC was like... "Incredible!" <a_bertrand> yet was what... 16 colors? XD <a_bertrand> amber was the color of the first PC   Which languages can your program in and i dont mean French or German :) ?   <a_bertrand> I learned over the time: <illusions> Which was easy and hardes to lean ? <a_bertrand> Basic, C, C++, Java, Python, TCL/TK, JS, Basic, VB, PL/SQL, PHP, C# <a_bertrand> C was really hard to learn... specially coming from Basic <illusions> can you remember what BASIC stood for back in the days of computer languages ? <a_bertrand> but then it was all more or less just learn the basic syntax (1-2 days work) and I could at least do some with the language <a_bertrand> what do you mean? <illusions> well the word BASIC actually meant something <a_bertrand> It was one of the "base" language you would find on all kind of computer <illusions> Beginners Alpurpose Symbolic Instruction Code...... B.A.S.I.C <a_bertrand> was relatively easy, and could do quiet some. <a_bertrand> yet slow, and... clumsy to maintain big codes <a_bertrand> forget define your own functions it wasn't possible <a_bertrand> 10 GOTO 10 <a_bertrand> was a good example ;) Do think programming back in the 80s gave you and edge on todays coding methods ? <a_bertrand> Learning to code in C does give me a HUGE edge over most of the new comers <a_bertrand> new programmers don't even understand how the memory works, variables, arrays without talking about the mighty pointers. <a_bertrand> for them, references, pointers are simply something they don't grab <illusions> didnt you ever use the likes of Commodore or Zx Spectrum as a learning process example using their machine code. ? <a_bertrand> also, understanding that code can be written in multitudes of different ways gives me an edge too <a_bertrand> nope I didn't had access to a Commodore nor never coded in assembler   What advice would you give to any bedroom kid learning to programme ? <a_bertrand> start with simple goals, if you don't understand what a variable, and array are, and don't understand a if and a loop forget about going any further. Until you have FULLY understood those bases you can't code. <a_bertrand> New comers tends to believe programming is easy, and they will pick it up in a couple of days or week, then suddenly discover they don't know how to do things, and stop <a_bertrand> they cannot really start by fiddling around with pre-made codes, nor simply watching some tutorials on youtube will make you a good programmer <illusions> di you read plenty of books before hand or did you prefer the hands on approach when learning ? <a_bertrand> When I started, you didn't had internet, or not in the sense we have it today. It wasn't possible to have access to all this knowledge for free. So I started first by trying bits and pieces with a book on my knee, and then bought more books for all the subjects which was important to me <a_bertrand> a good chunk of my money went into books at that time. <a_bertrand> now it's so easy to just google something and find a snippet of what you need   Can you recall the very first programme you ever coded and what did it do ? and more to the point how did you feel when you saw it come to life on a monitor... ? <a_bertrand> the first program was something in the lines: <a_bertrand> what's your name? <a_bertrand> hello XXX! <illusions> im getting a vision of an over excited child called Berty lol <a_bertrand> then I went on, like "protecting" my mighty program by adding a question on start, if you didn't answered correctly it would not let you pass it <a_bertrand> and if you pass it, then it would play some bip scale ;-) <illusions> I first came across your name when I visited a game you created called Nowhere Else And Beyond (NeaB) Was this just a pastime for you, or had you played online games and thought youd like to create better ? <a_bertrand> I played a web game called "The Kingdom of Loathing" after reading an article about it on tomshardware <a_bertrand> I played it actually for a couple of months... before being bored by it and thought: come on, web games MUST be better than this <a_bertrand> and therefore I created NEaB   Are you proud to say NEAB is your baby or do you look at it now and think i could have done this better or made that better... ? <a_bertrand> I'm happy I did it, yet it took me loads of time <a_bertrand> and... of course I think "I could have made this better, map loading is just too slow, there is too many annoying things etc..." <illusions> When you inserted the last line of code who was the very first person you told about it ? <a_bertrand> mmm on NEaB? <a_bertrand> I don't remember honestly <a_bertrand> I stopped working on it at least 2 years ago... if not more <a_bertrand> and I could have said it on the chat, I don't remember   Would you say your achievments with the NeaB engine inspired you to create other things that users are not aware of and if so what things have you done that will make our lips tingle.. <a_bertrand> well, some people think that creating just a game like many others and change just a bit here and there is the way to go <a_bertrand> I'm quiet different here, as I do a game for me, the kind of game I personally enjoy, not to make money or to be known or whatever <a_bertrand> so I think what I personally want and then do something to try to reach it   Do you ever find that when your creating something that you sometimes hit a brick wall and have to revert to an alternative approach to fix the problem <a_bertrand> I hope that NEaB shows that much more than a simple text web game is possible, even if today we see more and more complex web games <a_bertrand> every days basically ;-) <illusions> is that cos you have me on your team lol <a_bertrand> and that's why I love programming, because I need to think how to solve things, not simply put together the same old lines <a_bertrand> no, I don't need you to create bugs ;) <illusions> Married life.. do you take work homw with you or do you as soon as you leave the office then work stays at work ? <a_bertrand> no, when I leave the office, I close this part of my life <a_bertrand> also I don't do over hours... <a_bertrand> yet I'm considered really productive and a fast worker   Is it true that illusions is related to you cos theres a rumour going around that your related ? <a_bertrand> illusions? who is he? <illusions> not sure ;)   Now that youve learnt scripts/code what else would you like to develop into your games example music, graphics ? <a_bertrand> I love 3D art and music..   Your newest creation NWE (New Worlds Engine) what was the puropose of the creation and the idea behind it from your point of view.. ?   <a_bertrand> As I'm on Make Web Games forums since a good number of years now, and I'm really SICK of hearing about how bad McCodes is, and see that people are still waiting of a never coming version <a_bertrand> I thought, ok, it's time to wake up those people, and show that something can be done, that it's possible to have a different approach, and try to solve a couple of issues <illusions> i know im one of them ;) <a_bertrand> for example, show that you don't need to edit existing code to add new modules <a_bertrand> that modules don't need to be hard to code <a_bertrand> and offer overall a simple infrastructure to build text games on <a_bertrand> For this I believe my goal has been more than reached, many people uses it now <a_bertrand> and... McCodes is not the only solution <a_bertrand> even the number of modules offered by NWE starts to be high... <illusions> do you think in your own words that if MCC had kept their promise that NWE would never have exsisted ? <a_bertrand> I would never have done NWE if McCodes owners would have been more active and actually more open to the community <a_bertrand> I personally, I'm not such a big fan of text games <a_bertrand> and I'm not all so much interested in create yet another engine in PHP   NWE has taken off in leaps and bounds where do you see NWE heading in the next year or so ? <a_bertrand> no clues actually <a_bertrand> I hope to see at some point a game running based on NWE <a_bertrand> if nobody will do it, I will have to make one myself <a_bertrand> but I'm not really keen to run yet another game..
  23. Excellent :)
×
×
  • Create New...