Jump to content

Recommended Posts

Hey, I am working on a series of scripts that I've made by myself. The scripts start off by allowing you to make your own character, and follow some parameters. I've just completed the character creator script.

 

I need some guys to tell me how it works and stuff. I have tested it, but you guys may now somethings I don't (about Firebug or something).

 

NOTE: This is tested using SESSIONs from my website. Please go here:

http://mythscape.freezoka.com

 

And log in as:

Username: test

Password: test

 

 

THEN click this: Thanks :)

http://mythscape.freezoka.com/chrisrpg/rpgtest.php

 

All feedback is appreciated. :)

Link to comment
https://forums.phpfreaks.com/topic/171231-beta-test-character-maker/
Share on other sites

hiya,

 

i held back abit yesterday on your other post, mainly because i make PBBG's to, the script that had the elseif error needs to check that the user can create a new charactor, if you wanted to have it so they can have multiple chars per account you will have to change the primary key col to be a auto increment int so the username col can have duplicate data in.

 

I tried to create one but it appears you can only have 1 character per user.

 

Not very effective error handling:

 

 

there is none on the code that does that, a copy of it was posted yesterday =)

It seems to be working, though the color scheme throughout the site is enough to make me want to put a fork in my eyes.  Can you do anything once the character is created?

:D The color scheme is purely for testing. As I said, I designed it for a friend, so I'm going to give him the code and he's going to put design to it...but if he changes the PHP I'm going to jump off of a cliff.

 

You cannot do anything yet ('cause I spent so much time on the creation and the shop  :P ), but when I get around to it, you will be able to fight randomly generated creatures, or other members, buy items in the shop to upgrade your character, put money in the bank to gain interest, and probably more that I haven't been told yet. -.-"  ;)

 

I tried to create one but it appears you can only have 1 character per user.

 

Not very effective error handling:

 

Duplicate entry 'test' for key 2

 

I was debating whether or not to allow one character per user...I just set the 'player' column to Unique. I guess I could change it, but I'd have to ask the guy who wants the script. If we have multiple characters it could just make it waaaay too confusing.

hiya,

 

i held back abit yesterday on your other post, mainly because i make PBBG's to, the script that had the elseif error needs to check that the user can create a new charactor, if you wanted to have it so they can have multiple chars per account you will have to change the primary key col to be a auto increment int so the username col can have duplicate data in.

 

I tried to create one but it appears you can only have 1 character per user.

 

Not very effective error handling:

 

 

there is none on the code that does that, a copy of it was posted yesterday =)

Found it.

 

 or die(mysql_error());

 

I don't get those two posts....maybe I'm not reading them right.

 

 

Thanks guys. I have cleared the database so that a new character can be made. ;)

 

 

 

Cross Site Scripting(XSS):

You can submit code when registering and it will execute on the members page.

http://mythscape.freezoka.com/member.php

 

Cross Site Scripting(XSS):

You can submit ">code when editing the profile field "website" and it will execute when viewing a profile.

http://mythscape.freezoka.com/profile.php?username=test

Cross Site Scripting(XSS):

You can submit code when registering and it will execute on the members page.

http://mythscape.freezoka.com/member.php

 

Cross Site Scripting(XSS):

You can submit ">code when editing the profile field "website" and it will execute when viewing a profile.

http://mythscape.freezoka.com/profile.php?username=test

:shy: I thought I did the htmlentities() thing on the profile. Did you use <script>alert("")</script> ?  Because it wouldn't let me execute any html tags.

 

HOW DID YOU EDIT THE MEMBERS' PAGE?!?!?!?!!?!?!!!?

Please let me know so I can fix the problem, I didn't even know you could!!! >.> <.<

 

Well thanks for showing me some errors in my main site, but I was testing the RPG creator. -.-"  :D

 

  • 3 weeks later...

Email adress Found

 

Fix: implement a robots.txt file

 

 

User-agent: *
Disallow: /

User-agent: *
Disallow: /contact.php

User-agent: *
Disallow: /profile.php

User-agent: *
Disallow: /profilecp.php

User-agent: *
Disallow: /agogwe.php 

User-agent: *
Disallow: /cmain.php

User-agent: *
Disallow: /cpea.php

User-agent: *
Disallow: /emela.php

User-agent: *
Disallow: /kingc.php

User-agent: *
Disallow: /lusca.php

User-agent: *
Disallow: /mgor.php

User-agent: *
Disallow: /logindex.php

User-agent: *
Disallow: /marozi.php

User-agent: *
Disallow: /nandi.php

User-agent: *
Disallow: /nguma.php

User-agent: *
Disallow: /nyala.php

User-agent: *
Disallow: /okapi.php

User-agent: *
Disallow: /phippo.php

User-agent: *
Disallow: /registration.php

Email adress Found

 

Fix: implement a robots.txt file

 

 

User-agent: *
Disallow: /

User-agent: *
Disallow: /contact.php

User-agent: *
Disallow: /profile.php

User-agent: *
Disallow: /profilecp.php

User-agent: *
Disallow: /agogwe.php 

User-agent: *
Disallow: /cmain.php

User-agent: *
Disallow: /cpea.php

User-agent: *
Disallow: /emela.php

User-agent: *
Disallow: /kingc.php

User-agent: *
Disallow: /lusca.php

User-agent: *
Disallow: /mgor.php

User-agent: *
Disallow: /logindex.php

User-agent: *
Disallow: /marozi.php

User-agent: *
Disallow: /nandi.php

User-agent: *
Disallow: /nguma.php

User-agent: *
Disallow: /nyala.php

User-agent: *
Disallow: /okapi.php

User-agent: *
Disallow: /phippo.php

User-agent: *
Disallow: /registration.php

 

What will this do? Doesn't robots.txt stop robots from crawling?

 

Also, I will implement that function, thanks. :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.