[SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    i am a person Riley H is offline
    MemberRank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

    [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    Project Fantasy Roleplay is a v26 emulator and CMS, designed to emulate fantasy gameplay.

    Core Features:
    • Most things will be cached
    • Comprehensive error logging
    • Stabilization and DDoS protection

    Roleplay features:
    • Race system (races will have specialized skills and powers)

    • Skill system such as Thieving, Herblore, Magic, Smithing and more
    • More realistic combat (more detailed, partially animated, more types of attacks and spells)
    • Experience system (users will level things such as strength by fighting rather than waiting at the gym)
    • Hunger system (Rather than dying when your hunger is compromised, things such as strength, mana will progressively degrade)
    • Buying/selling system (Users will be able to buy things from stores, sell them back, and trade with other users)
    • More to come...

    Screenshots:
    Spoiler:






    Last edited by Riley H; 27-03-13 at 09:21 PM.


  2. #2
    Iron like a Lion in Zion! vLife is online now
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,785Posts

    Re: Fanasty RP [Shockwave]

    Approved.
    Good luck on your RP project, hope you see it to the end.
    And also you have 24 hours to post snippets of code.

  3. #3
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by lRetros View Post
    Good luck with the project, i love the creative ideas that you'll try to make in the emulator but i think is better to have first a very stable and complete Emulator for the RELEASE 26 before of add this new good things, it'd be great if you also tell us about the emulator and CMS features.

    Now i'm very busy working with HabboDavinci and studying but if you need to edit some things in the r26 DCR's im expert in shockwave and is possible that one day i could help you, i prefer the r14-18 ones but it doesn't matter.

    A screen shot of my Hotel right now (i changed a little bit the interface to make a good mix):
    Very good, but this is not your develop thread i guess.

  4. #4
    i am a person Riley H is offline
    MemberRank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by lRetros View Post
    Good luck with the project, i love the creative ideas that you'll try to make in the emulator but i think is better to have first a very stable and complete Emulator for the RELEASE 26 before of add this new good things, it'd be great if you also tell us about the emulator and CMS features.

    Now i'm very busy working with HabboDavinci and studying but if you need to edit some things in the r26 DCR's im expert in shockwave and is possible that one day i could help you, i prefer the r14-18 ones but it doesn't matter.

    A screen shot of my Hotel right now (i changed a little bit the interface to make a good mix):
    Sure, I could use your help with editing some of the interface. I'll PM you.

    Also, snippet:
    Code:
    	 
    	int newLevel;
            string exp;
    	exp = dbClient.getString("SELECT herblorexp FROM users WHERE name = '" + _Username + "'");	
            if (exp = "max")
    
    
    {
    	        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                              dbClient.runQuery("UPDATE users SET herblore = herblore + 1 WHERE name = '" + _Username + "'"); 
    	        dbClient.runQuery("UPDATE users SET herblorexp = NULL WHERE name = '" + _Username + "'");
                              newLevel = dbClient.getInt("SELECT herblore FROM users WHERE name = '" + _Username + "'");
                              sendData("BK" + "Level Up! \r" + "You are now a level " + newLevel + " Herbalist\r" +"You may now: " + newAbility + "");
    }
    Also a screenshot of the 2nd step of registration, a simple radio form that inputs the selected race into the user's table and changes everything else accordingly:

    Last edited by Riley H; 27-03-13 at 10:21 PM. Reason: Fixed code tags

  5. #5
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Fanasty RP [Shockwave]

    Cool :-)

  6. #6
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by Riley H View Post
    Sure, I could use your help with editing some of the interface. I'll PM you.

    Also, snippet:
    PHP Code:
        int newLevel;
            
    string exp;
        
    exp dbClient.getString("SELECT herblorexp FROM users WHERE name = '" _Username "'");    
            if (
    exp "max")


    {
                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                              
    dbClient.runQuery("UPDATE users SET herblore = herblore + 1 WHERE name = '" _Username "'"); 
                
    dbClient.runQuery("UPDATE users SET herblorexp = NULL WHERE name = '" _Username "'");
                              
    newLevel dbClient.getInt("SELECT herblore FROM users WHERE name = '" _Username "'");
                              
    sendData("BK" "Level Up! \r" "You are now a level " newLevel " Herbalist\r" +"You may now: " newAbility "");

    Also a screenshot of the 2nd step of registration, a simple radio form that inputs the selected race into the user's table and changes everything else accordingly:

    Please..

    exp = dbClient.getString("SELECT herblorexp FROM users WHERE name = '" + _Username + "'");

    Tell me this needs some improving? Why not use MySqlParams? This is fully injectable.

  7. #7

    Re: [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    I'm really looking forward to this project, it's so unique!

    What server is this based on, I'm guessing Holo?

  8. #8
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by Tha View Post
    Please..

    exp = dbClient.getString("SELECT herblorexp FROM users WHERE name = '" + _Username + "'");

    Tell me this needs some improving? Why not use MySqlParams? This is fully injectable.
    Its not because its not used for something like uh uh.. navigator (just a example) doh..

  9. #9
    i am a person Riley H is offline
    MemberRank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by Tha View Post
    Please..

    exp = dbClient.getString("SELECT herblorexp FROM users WHERE name = '" + _Username + "'");

    Tell me this needs some improving? Why not use MySqlParams? This is fully injectable.
    Firstly, I hope you understand that was a C# snippet and not PHP -- just incase there was any misunderstanding there. Secondly, I would like to point out the fact that I'm implementing all of the basic features and functions first, then going back and securing the code later.

    Quote Originally Posted by Weytin View Post
    I'm really looking forward to this project, it's so unique!

    What server is this based on, I'm guessing Holo?
    Yeah, thanks man, that was the goal.

    Updates:
    • Users with level 5+ Thieving may now pickpocket users
    • Users with Higher Thieving levels can now steal more food at one time, and have less of a chance of being caught
    • Finished CMS design for me, community
    • Finished CMS registration functions -- working on design

    Me:
    Last edited by Riley H; 27-03-13 at 09:29 PM.

  10. #10
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by Riley H View Post
    Firstly, I hope you understand that was a C# snippet and not PHP -- just incase there was any misunderstanding there. Secondly, I would like to point out the fact that I'm implementing all of the basic features and functions first, then going back and securing the code later.



    Yeah, thanks man, that was the goal.

    Updates:
    • Users with level 5+ Thieving may now pickpocket users
    • Users with Higher Thieving levels can now steal more food at one time, and have less of a chance of being caught
    • Finished CMS design for me, community
    • Finished CMS registration functions -- working on design

    Me:
    So you guy think its only impossible to exploit/inject/whatever in C#? I'm very sure its possible, And i'm also very sure that Tha knows what C# is lulz.

  11. #11
    i am a person Riley H is offline
    MemberRank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

    Re: Fanasty RP [Shockwave]

    Quote Originally Posted by Ryan View Post
    So you guy think its only impossible to exploit/inject/whatever in C#? I'm very sure its possible, And i'm also very sure that Tha knows what C# is lulz.
    I've never heard of an SQL injection in C# except when using ASP.NET. I also never said that he didn't know what C# was. It is very possible he mistook it as PHP related to the screenshot I included in the same post, as the line he quoted could also be used as PHP code.

    Edit: I now see I used PHP code tags instead of basic code tags, that is why Tha mistook my snippet for PHP.
    Last edited by Riley H; 27-03-13 at 10:22 PM.

  12. #12
    Iron like a Lion in Zion! vLife is online now
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,785Posts

    Re: [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    SQL injection inside of C# is very much real. And if this emulator your building around is Holo more than likely its there. Parameters are there for a reason, don't secure later what you can do now.

  13. #13
    Enthusiast Cody Allan is offline
    MemberRank
    Nov 2012 Join Date
    46Posts

    Re: [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    maybe i should open an RP hotel :o they're getting pretty neat!

  14. #14
    i am a person Riley H is offline
    MemberRank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

    Re: [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    Quote Originally Posted by vLife View Post
    SQL injection inside of C# is very much real. And if this emulator your building around is Holo more than likely its there. Parameters are there for a reason, don't secure later what you can do now.
    C# can be injected -- I'm not denying that. However, an injection could only be performed, in this case, if the console itself had an input field of some kind and generated a SQL query with it. Which it does not. Therefore, the emulator is not directly vulnerable to SQL injections.

  15. #15
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: [SHOCKWAVE] Proj. Fanasty Roleplay [RP][C#][PHP]

    Thanks for everybody coming up. I didn't know it first but I knew there were MySqlParameters for a reason. I learnt it's pretty much for making it unexploitable at my own thread (I guess it was Myrax who pointed it out)

    I hope you decide to use MySqlParameters for 99,999999% of the code. Good luck, good to see there is still somebody caring about shockwave!



Page 1 of 2 12 LastLast

Advertisement