Jump to content

Chewett

Root Admin
  • Posts

    28,528
  • Joined

  • Last visited

  • Days Won

    650

Everything posted by Chewett

  1. [quote name='Death Bell' date='02 November 2009 - 05:21 PM' timestamp='1257182490' post='46413'] you just want us to like write you a paragraph or draw you a map of a game level..? or use these computer language and program the map for you ? what are the rules and directional movement allowed? [/quote] [quote name='Grido' date='02 November 2009 - 06:28 PM' timestamp='1257186518' post='46422'] i'm thinking that there'll be level editor software...stuff, so that we like drag a tree here, a barrel there etc, and design the layout of the level that way. Sounds fun, can't guarentee i'll make a good level, cos i dont know what's available, but i could give it a good shot . Be fun regardless if money is involved or not. So long as i dont actually need an iphone to make the level of course... [/quote] [quote name='Death Bell' date='02 November 2009 - 06:32 PM' timestamp='1257186725' post='46423'] can you pm me the link of this level editor software if its free to download.. this might be fun [/quote] Im 100% sure that he doesnt have a "level editor" software as he said in his first post [quote name='Muratus del Mur' date='02 November 2009 - 04:45 PM' timestamp='1257180337' post='46411'] I am building a game for iphone for some people i work with. [/quote] So im guessing its going to be drawing and such, and not using a program.
  2. Chewett

    My Profile

    and Jonn did it for years
  3. Forms comprise of two parts. The actual form, and the processing Code Here is my form <form method="post" action=""> Please type something in here: <input type=text name="box" size="25" maxlength="50"> <br /> Do you use GGG? <input type="radio" name="radio" value="use"> yes <input type="radio" name="radio" value="dont use"> no <br /> Pick some of these, you choose! <input type="checkbox" name="checkbox_1" value="1"> one <input type="checkbox" name="checkbox_2" value="2"> two <input type="checkbox" name="checkbox_3" value="3"> three <br /> Are you a... <select name="listbox"> <option value="Fighter">Fighter</option> <option value="Roleplayer">Roleplayer</option> <option value="Fighter and roleplayer">Fighter and roleplayer</option> </select> <input type="submit" value="Submit!"/> </form> Here are some numerous examples of the differnt objects you can have on a form. points to note. 1. the "name" value will be sent to the MDscript as @input['name'] Where name is your name of your object 2. You can only select one choice with radio buttons 3. You can select more than one with a check box And here is my Mdscript that "handles" the form if(isset(@input['box'])) { echo "you typed in " . @input['box'] . "<br />"; } if(isset(@input['radio'])) { echo "You said you " . @input['radio'] . " GGG <br />"; } if(isset(@input['checkbox_1'])) { echo "You selected Check box 1! <br />"; } if(isset(@input['checkbox_2'])) { echo "You selected Check box 2! <br />"; } if(isset(@input['checkbox_3'])) { echo "You selected Check box 3! <br />"; } if(isset(@input['listbox'])) { echo "You said you are a " . @input['listbox'] . " <br />"; } echo @content['0']; Here i have used the php function isset() to see if the variable is set. if(isset(@input['textbox'])) { ... } All this means is, Check if @input['textbox'] is set (someone typed something in) and if it is, do what is in the brackets. This will prevent all this code from being done when the user first loads up the page Instead of just echoing the values you could make it more intresting by doing something with the values, like storeing the value as a variable in your quest. But! be careful, Just because someone can enter something, doesnt mean it will be something you nesscariy want to be entered. For example if you need a number to be entered, someone could enter a letter, and if your script doesnt check, it might break your script! NOTE: This is PHP and i have no access to MDscript, So, if anyone wants to help me, please test the script.
  4. You need some way of displaying all Keys you have assigned and being able to remove all keys you assigned from everyone. That would solve the Quest cleanup problem
  5. Make comments on the creatures that havent got a description, Like most dracorns have no description
  6. [quote name='Rendril' date='01 November 2009 - 03:28 PM' timestamp='1257089324' post='46295'] To remove a key use mds_take_rpqc_keys("key name") He won't have access to your script. [/quote] so this will remove what key? all keys of that name? from everyone?
  7. what about now? if you cant view it use this link for the moment http://magicduel.invisionzone.com/gallery_uploads/1255871650/gallery_3245_79_3602.jpg
  8. Image Now Approved, So now people can actually see it
  9. Well done whoever thought of this idea, Its a good one. To Mur: You will never know how much we all appreciate the game and respect you.
  10. Happy birthday to the both of you!
  11. Chewett

    Vacation

    [quote name='dst' date='31 October 2009 - 04:20 PM' timestamp='1257006034' post='46213'] Starting from tonight 23:40 server time I am officially on vacation. That will mean sporadic response to PMs, bitchy remarks (not that I don't do that even when I am not in vacation) and almost no help coming from my side. If you desperately need something talk to No one. I will probably log in every day but just to get my days. If I find a decent quest that I decide is good enough to waste my time I will try it. Wish me lots of sun and and a nice tan So...have fun and behave [/quote] At the moment im trying to think of a sarcastic/rude/funny comment tying in Halloween, Witches and dst going away... Oh well, The forum will run around and i might even get some work to do people side. Have fun!
  12. Closed for inanity If mur wants to fix it, all the info is here.
  13. Rj, you are being unclear, what toolbar are you refering to now? If there is nothing apart from a small graphical problem i am closing this topic.
  14. Comeon Rj, its a minor display glitch that doesnt even warrent a post...
  15. its a minor display issue that has been around for ages... with the amount of bugs in the game do you think that this one needs to be fixed?
  16. Suggestions how to avoid: Log out in areas with little or no people Log out in a Sanctuary (with 6 or less heads during the head contest) have a "dummy" ritual up, including just one creature (with more than 301 vitality) so that when you get attacked you only lose one creature, Have a couple of these dummy rits up
  17. [quote name='teufelhunden' date='31 October 2009 - 08:39 AM' timestamp='1256978387' post='46168'] I think you were not bet and did it on your own....... [/quote] Correct! first one to guess it right lol
  18. [quote name='Grido' date='30 October 2009 - 07:15 PM' timestamp='1256930131' post='46152'] 3 is ''Default Player'' (which i think has been around a while) and 4 is ''Mur..'' (which is more recent) Yes, i tend to pay attention to random things like this [/quote] ah, dont spoil it, i love the description of Mur..
  19. good question. i would say leave the key there, but im not sure about the garbage collection thing. lets see what Ren thinks
  20. [quote name='Fenrir Greycloth' date='30 October 2009 - 06:07 AM' timestamp='1256882872' post='46113'] I would like to see a way to limit what we can do(won't hear that often) so that I(and others) can sleep soundly at night... [/quote] Thats already in place, Its not php its MDScript, Its run through a parser that checks the functions and it will only allow the ones MDscript has been programmed to understand. The language is Php, but there is a big Chunk of it missing You cant access variables from Md since you can only use pre-allowed ones, so no session vars or anything, and only certain functions have been allowed, So no database operations for us. Its 99% fullproof, And i make this point. Anyone who can access it will not want to drop the entire whatever table. They are smart enough not to do that. Magicduel has survived sql injections and the users responsible were not banned because they then helped Mur to fix them. There has only been once incident in the entire history of MD where something was done maliciously and that was to the previous forum. I think there is no reason to worry about the MDScript
  21. Very offtopic: But can we have a poll as you did say anything can be voted on Ontopic: I will ban ya all for being offtopic, So, Mur, you are on your last warning, as am i actually
  22. Chewett

    Free Creds

    The Error seems to have been fixed now Currently Memory is away from Magicduel Due to RL Any more Links please post them here or email me (chewett (at) magicduel.com) and i shall send them to Mur
  23. [quote name='I am Bored' date='29 October 2009 - 07:25 PM' timestamp='1256844306' post='46086'] oh and just so you know, there is only 1 id that is under 100, and that is king manu, the next is muratus del mur...... or wait.... did live help survive? if live help did then it has id 2, but there is no account with an id of 62 [/quote] 4 accounts under id 100, you might want to check them out, they are intresting
  24. [quote name='Muratus del Mur' date='28 October 2009 - 11:11 AM' timestamp='1256728278' post='45941'] Offtopic (to be moved?)I am open to suggestions regarding the distribution of the ability to edit clickables. Currently only 16 ppl can edit items, thats too low. What should be increased?wp price - means more smart pplactive days - more loyal, active and constant pplconsumed wp - ppl with a strong bgOn what other base should this ability be given, considering it can change the realm a lot and i plan much more for it [/quote] Surely anyone who can prove their worth with such items should be able to code for them? Having someone like Ren who can validate someones skill, would be useful for people like me (yes big headed) Who dont have time to quest and do other things for the game. Or perhaps give it Quest doc style, Free for anyone who asks but only if they make a really good use of it. It seems unfair to not give people who could use it the ability just because they dont want to gain 7 wishpoints [quote name='Muratus del Mur' date='28 October 2009 - 11:55 PM' timestamp='1256774143' post='46016'] (To be moved in a poll maybe if you think its important)Should alt check be availabe in script?Something if(is_alt('id or playername of main')){...Alt checks could have a few points of accuracy, like no way, might be, defenetly ...Consider someone could collect data with it and display a Alt list for public review or for his own. Alts as you know are allowed, but using them to boos your main is not (meaning you can use them though but within decent limits and only for the purpose of playing an other character/personality)I am sure this is useful for preveting quest cheating but its also a serious threat to privacy. [/quote] Alt check eh? Bring on the data scraping. It would be much too easy to pull data from this, By using a script, it could be done automatically, And if its php... there is no end to the data that can be pulled from the system Assigning keys to each player, will mean they will at least have to complete it twice, Perhaps also by generating a code for people to give you, so you can check and talk with them and see if they are an alt. Just providing a function would be a little invasive, and also considering that many players have "leant" their account to others for active days (*cough* grido), and it would consequently show as an alt
  25. [quote name='Burns' date='29 October 2009 - 04:03 PM' timestamp='1256832209' post='46069'] uhmm... i know i'm not supposed to post here, but you have a little mistake there, you have @vh once where it should be @vd [at least i think so O_o] [/quote] Thanks Burns, i changed that [quote name='Rendril' date='29 October 2009 - 04:16 PM' timestamp='1256833008' post='46070'] Nice code Chewett, but I think you mean @vh [b]+[/b] 10 * 60 Otherwise it would be checked in the next 6000 years or so [/quote] and perhaps i might want it to be checked within the next 6000 years changed also, thanks Did anyone test it? since i cant actually check as i have no access...
×
×
  • Create New...