Jump to content
MakeWebGames

Recommended Posts

Posted

I dont know if this was previously done but I was bored and just made it so I thought id share it.

Its a VERY VERY simple mod I know so please dont comment on that! I am just giving it for free for people who might want to use it and cant be bothered making their own.

Basically users type in a question and the magic 8 ball says a random answer.

I have added 25 random answers but you can add more if you like.

Any problems please let me know. But it works for me.

magic8ball.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Magic 8 Ball Image (magic8ball.png)

magic8ball.png

 

Screenshots:

h3o6pjw53iwp78tn0na0.png

m618dc3fh2xmpb37kesd.png

Took a few tries to get the comment on this :-D

6aahwhnu35wk3trtgphk.png

 

Enjoy :D

  • Like 1
Posted

Re: [mccodes v2] Magic 8 Ball

Well Clang considering it is a very simple mod it wont be hard to secure just use the no.1 coding friend =???

And find out how to other then that i really dont see the point in this mod, its a waste of space people will click to see what it is use it once realise its a waste of time and leave it....

Posted

Re: [mccodes v2] Magic 8 Ball

 

Well Clang considering it is a very simple mod it wont be hard to secure just use the no.1 coding friend =???

And find out how to other then that i really dont see the point in this mod, its a waste of space people will click to see what it is use it once realise its a waste of time and leave it....

Stupid comments like this are what stop Scripters from progressing. regardless of what you think of it keep it to yourself.....

+1 for the script from me though.. He's shown he can use initiative and invent ideas of his own.. Weldone :)

Posted

Re: [mccodes v2] Magic 8 Ball

 

Well Clang considering it is a very simple mod it wont be hard to secure just use the no.1 coding friend =???

And find out how to other then that i really dont see the point in this mod, its a waste of space people will click to see what it is use it once realise its a waste of time and leave it....

Stupid comments like this are what stop Scripters from progressing. regardless of what you think of it keep it to yourself.....

+1 for the script from me though.. He's shown he can use initiative and invent ideas of his own.. Weldone :)

Thanks a lot mate and yes your comment is really true. While influencing comments are always great, comments like 'Terrorist' always take the most effect which is why some scripters dont progress.

Im happy with what I did and im sorry some people will find it useless..But if you find it useless why cant you just NOT use it and NOT comment. It would help everyone :)

Thanks illusions ;)

Posted

Re: [mccodes v2] Magic 8 Ball

I comment how i did because i think this mod is pritty pointless i did not at any point criticize his script, style, skills etc... i just expressed my view of the mod.

Yes you have coded it well, could look better (images) and as for the comment from illusion i think you should read my post and think about what i said first...

Posted

Re: [mccodes v2] Magic 8 Ball

 

I comment how i did because i think this mod is pritty pointless i did not at any point criticize his script, style, skills etc... i just expressed my view of the mod.

Yes you have coded it well, could look better (images) and as for the comment from illusion i think you should read my post and think about what i said first...

I understand what you mean.

Posted

Re: [mccodes v2] Magic 8 Ball

 

Aren't you even going to try and secure user input?

Ummm, nothing is hitting the database, nor being displayed to other users. Could you please tell us all "Captain Security" what the hell is exploitable? Really I wanna know...

Posted

Re: [mccodes v2] Magic 8 Ball

 

Ummm, nothing is hitting the database, nor being displayed to other users. Could you please tell us all "Captain Security" what the hell is exploitable? Really I wanna know...

I was just about to ask the same thing.

The mod doesn't take any info from the database, nor does it insert any.

What exactly is the hacker going to break into? The html on the page?

Posted

Re: [mccodes v2] Magic 8 Ball

Good mod. lol @ cronus and coderstryke..They so use to Nyna jumping in on the Security Flaws its become a habit i suppose.

(Nothing personal Nyna, Just some Humor)

Posted

Re: [mccodes v2] Magic 8 Ball

lmao early morning humour...

i know this is obvious but saying it does no queries is rather incorrect globals is called therefore it selects all sorts lol

just though i'd have a laugh when you all reply with it can't be exploited lol

Posted

Re: [mccodes v2] Magic 8 Ball

I may be wrong i just thought this would be a time to learn how to write it without looking up everything..

i am a noob at this still so i hope it works...!

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccodes v2] Magic 8 Ball

The hacker you have a lot of un nessisary code. There are no querys to there is not much point of securing inputs

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccodes v2] Magic 8 Ball

 

The hacker you have a lot of un nessisary code. There are no querys to there is not much point of securing inputs

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

but having everything else brought to the table we can.

You don't need a answer=4 or so to preform a sql injection.

basicly anything is injectable and securing it against sql inputs was the go

i have a chat script that used name inputs to get the user and it had no other sql only include globals

now how did i manage to dump my database into the chat???

Posted

Re: [mccodes v2] Magic 8 Ball

Thanks zero-affect lol. I was actually thinking that...no sql queries....so how can there be sql injections? However as I said before i know absoloutely NOTHING about security. I better read up about it in my free time lol. I dont usually make mods which is why im not so good.

But there is no harm in trying and no harm in learning so I just want everyone to know that no matter what you make, some people will always critisize it even if they are wrong. Im afraid thats just life. But just think about the amount of people who actually like it...Most of the time the proportion is more. So whatever you make, just dont worry, and be happy! And by each step you take, you'll get better and better....until eventually you get to Nynas stage :-D

  • 2 years later...
Posted

Ok so maybe its a simplistic mod with no real purpose. Who cares? Have you seen most gamers, they will play it until they are sure they have seen all the answers. And anything that keeps your gamers happy and on site longer is a good thing. I have added this one and made a few changes to the responses. Took out some strange that did not seem to be serving any purpose in the response section, and changed the name. Great work!! Plus One to you!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...