se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#15618 - 09/15/07 11:53 AM this is a great script thankyou!
sammystudio
Grape Nuts
*****

Registered: 09/15/07
Posts: 49
Loc: England

Offline
Hey there! im new, my names sammy and im an artist, i spent weeks looking for a script like this (im no phper!) and its just great! i can tweak it to my liking and im even learning some primitive php along the way!
thanks to everyone who made the script and mods! im so excited about my new RPG project!

I was wondering however if there was a mod where i can add shops? i.e - food shop etc etc i cant seem to find one i may be overlooking it!

great work once again! ill be posting progress shots of my site!
_________________________
majesticagame.com

Top
#15620 - 09/15/07 10:34 PM Re: this is a great script thankyou! [Re: sammystudio]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Shops are really easy to make. Just depends on how you want it coded. I could throw in a simple shot for you if you want.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#15633 - 09/16/07 05:42 PM Re: this is a great script thankyou! [Re: Fayt]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
When I did my first additional shop I just mimiced the normal shop in there.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#15641 - 09/16/07 09:01 PM Re: this is a great script thankyou! [Re: AnmanIndustries]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
That's one way of doing it. For beginner I suggestion doing link per item. Such as this.

$page .= "<a href=\blah.php?do=buypotion\>Potion</a> - 50 Gold";

function buypotion() {

if ($userrow["gold"] < 50){
$page .= "Sorry you don't have enough gold to buy this";
}
else {
$page .= "You bought a potion for 50 gold";
$updatequery = doquery("UPDATE {{table}} SET gold=gold-50 WHERE id='".$userrow["id"]."' LIMIT 1", "users");

}
display($page, $title);
}
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#15643 - 09/17/07 04:50 AM Re: this is a great script thankyou! [Re: Fayt]
sammystudio
Grape Nuts
*****

Registered: 09/15/07
Posts: 49
Loc: England

Offline
oh thanks ill give that a go until i can get my php programmer online! thankyou!!:)
_________________________
majesticagame.com

Top
#15650 - 09/17/07 02:55 PM Re: this is a great script thankyou! [Re: sammystudio]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
No prob
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo