![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [release] Pocket Gambler within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Introducing, Pocket Gambler! It is sort of a cross between a casino game, and a text-based Grand Theft Auto. Yes ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Introducing, Pocket Gambler! It is sort of a cross between a casino game, and a text-based Grand Theft Auto.
Yes I know, it's not very pretty right now. But a version with graphics will be released sometime in the future. *Sorry if this is in the wrong section. It's not flash, so it seemed like a better fit here. Screenshot ![]() Game Information
Play the Game Click to play online version (no download required) ZIP Download for offline play (12 KB) Installation Instructions for Offline Version If you are playing the online version, you don't need to read this. 1) Unzip the folder 2) Copy game.html to PSP/COMMON 3) Enter "file:/PSP/COMMON/game.html" into your PSP's web browser 4) Start gambling! |
|
|
|
|
|
#3 | |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
Quote:
try to stop doing bad stuff lol -= Double Post =- cool game u should try to import it to c or to lua with nice grafic
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) Last edited by thecobra; 02-24-2008 at 02:07 PM.. Reason: Automerged Doublepost |
|
|
|
|
|
|
#5 | |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
Quote:
if u look at it it almost the same as java what the heck if u copy ur html and put it in a lua player u problely get a 85% compatiblity
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
|
|
#7 |
![]() ![]() ...in a dream...
|
I got 54 years for stealing poop
![]() After i sold my soul for 4 dollars *sigh*
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#8 |
![]() |
I sold my soul for 4 dollars and then got $3915 for the windows source code. Go linux! Good job writing this all in javascript, I know a bit of HTML/JS myself and I looked at it and there are only a few relatively minor things that I would do differently. If you want, I'll help you out learning Lua if you want to rewrite this in lua.
|
|
|
|
|
|
#9 | |
![]() |
Quote:
![]() I'm actually playing around with Lua right now. Having a bit of trouble with random numbers. |
|
|
|
|
|
|
#10 | |
![]() ![]() .info
|
Quote:
Code:
math.random(min,max)
__________________
|
|
|
|
|
|
|
#11 |
![]() |
It is a pretty sweet game I must say!!
I found a bug (please excuse me), i was just tinkering around.. I think many people could find it if they looked easy. (I dont think it is patchable) I just tinked around a little. Sorry !
__________________
[B][FONT="Verdana"]WHA!?[/FONT][/B] Last edited by BigSanFrey; 02-27-2008 at 01:35 AM.. |
|
|
|
|
|
#12 | ||
![]() |
Quote:
At some point I will either try to encrypt the JS, or since I am porting this to Lua, score spoofing may be harder. Although either way, it wouldn't be too hard... -= Double Post =- Quote:
Last edited by littlevish; 02-27-2008 at 05:23 AM.. Reason: Automerged Doublepost |
||
|
|
|
|
|
#13 | |
![]() ![]() .info
|
Quote:
Code:
Math.randomseed(os.time()) On your current JS version, you could store all saved data online in your SQL database, because that would prevent spoofing, but then you wouldn't be able to save offline. A homebrew version will be nice ![]() And you'll be able to use pretty graphics without worrying about memory errors..
__________________
|
|
|
|
|
|
|
#15 | |
![]() |
Quote:
![]() And Yongo, yeah I realized score spoofing will still be just as easy if somebody has a text editor and is smart enough to realize changing "money = 2000" might work. And I don't really want to do save data online, since my PSP wifi card doesn't work. That means I wouldn't be able to test it ![]() I wonder if there is a way for the server to verify that the LUA script is unmodified before submitting the score? Or I could just compile it like you said. |
|
|
|
|
|
|
#17 | |
![]() ![]() .info
|
Quote:
__________________
|
|
|
|
|
|
|
#18 |
![]() |
Coding it in LUA won't make score spoofing harder either unless you somehow encrypt the score, or you compile the script with LuaC (making it unreadable).
no. even your md5 the file idea and compare is not completely foolproof. there is absolutely no reason to use LuaC for anything. On your current JS version, you could store all saved data online in your SQL database, because that would prevent spoofing, but then you wouldn't be able to save offline. saving everything online in an SQL DB doesn't prevent score spoofing by itself. you could easily still save offline. |
|
|
|
|
|
#19 | |
![]() ![]() .info
|
Quote:
__________________
|
|
|
|
|
|
|
#21 | |
![]() |
Quote:
Original code: Code:
money = tableofvariablesobtainedfromphpscriptwhichdisplaysDBinfo[money] Code:
money = tableofvariablesobtainedfromphpscriptwhichdisplaysDBinfo[money] money = 1000000 |
|
|
|
|
|
|
#25 |
![]() ![]() ...in a dream...
|
littlevish - Quick grammatical fix you can do
Add a (s) to the end of house, car, etc. when looking t what you own ^^
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#28 |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
cool i see u are working on importing it to lua
keep up the good work
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
![]() |
| Tags |
| gambler , pocket , release |
| Thread Tools | |
|
|