Hi
Question 1:
How can i make a scoreboard for a dbz game??
Question 2:
How to i put By CrazyFighter and Choas111. at the side of my game
Question 3:
Is there any pet code you can download?
Question 4:
How do i put this next to join when i host my game i made?
[Version 1.0 Hosted by CrazyFighter]
Question 5:
Is there any Auto-Save code that works?
Please help me
Thanks
CrazyFighter
ID:174368
Aug 23 2003, 3:41 am
|
|
Aug 23 2003, 3:50 am
|
|
oh and is there any way i could make it so the shopkeeper gives the money he got from people buying from him with a sertin key?
|
CrazyFighter wrote:
Hi What kind of scoreboard? Displayed in the mini-browser, the map, the stat panel, or the text output window? Question 2: Not sure what you mean by "side of". Question 3: No. Such a thing is best custom-fit to your game. Question 4: Set the world.status var at runtime. I posted a reply to a similar thread recently: [link] Question 5: Depends on what you're saving, and what you're not. I don't think there's any that's set up as a library or a snippet you can just plug in, though, because if your saving is all set up then auto-saving is pretty simple to add from there. Lummox JR |
In response to Lummox JR
|
|
auto save a players charcter and for the by one i mean
ex: Dragonball Z Super Saga By CrazyFighter and Choas111 i can only put the first one can't you do html scoreboard? Thanks for replying oh and were abouts do i put var/version = 1 // set these at startup or during first login var/mob/gamehost var/gamehost_key proc/WorldStatus() var/txt = "-= Version [version] =-" if(gamehost) gamehost_key = gamehost.key if(gamehost_key == "Dtroys") txt += " ~Main Server~" else if(gamehost_key) txt += " {Host: [gamehost_key]}" world.status = txt |
In response to CrazyFighter
|
|
can anyone else help?
|
CrazyFighter wrote:
Hi Question 2: You'd need to make a new key. Question 3: I think there a few in demos, you might wanna check them out. mob/verb/Pet() src << "You petted the dog!" Question 4: I believe there a few. Check out the Character Handling by Deadron. Please help me Glad to be of service! |
CrazyFighter wrote:
Hi there is demo of a popup score board by raekwon i think. Question 2: no idea by what you mean. Question 3: no, you should crate 'a pet code' Question 4: world.status Question 5: most likely, just do somthing like this: mob/proc/autosave() spawn() sleep(rand(1000,2000)) src.save() src.autosave() mob/proc/save() //saving stuff goes here |
In response to CrazyFighter
|
|
CrazyFighter wrote:
can anyone else help? 5 hours is a ridiculously short time for a bump. Please wait at least a day or so, and after the thread is pushed off the main page. Thank you. Lummox JR |
In response to Tiko
|
|
ok thanks everyone for helping me out
|
In response to CrazyFighter
|
|
I wont be able to write you anything that you can just copy and paste but I can give you a decent footing.
First, you want to set up two variables on the shopkeeper, var/give_gold_amount and var/give_gold_too. When you create the shopkeeper make sure to set the give_gold_too to equal the player who you want to get the cashes ckey. Ok, now you add the cost of the item your buying too give_gold_amount in the buy verb (Or what ever you use). Now the rest depends on how you want it too work. For this example I'll just make it so that players can walk up to the mob and ask for their money. mob What this is doing is checking to see if the usr is allowed to get access to the money, then if they are the amount is added to their wallet (gold var), then give_gold_amount is reset to 0. |
In response to DarkView
|
|
thanks DarkView But i still do not know were to put
var/version = 1 // set these at startup or during first login var/mob/gamehost var/gamehost_key proc/WorldStatus() var/txt = "-= Version [version] =-" if(gamehost) gamehost_key = gamehost.key if(gamehost_key == "Dtroys") txt += " ~Main Server~" else if(gamehost_key) txt += " {Host: [gamehost_key]}" world.status = txt were ever i put it , it never comes up when i host it compiles fine and that and i dont understand this mob/proc/autosave() spawn() sleep(rand(1000,2000)) src.save() src.autosave() mob/proc/save() //saving stuff goes here<------------This part |
In response to CrazyFighter
|
|
CrazyFighter wrote:
thanks DarkView But i still do not know were to put the problem is there change "Dtroys" to "CrazyFighter" (Without quotes) txt += " ~Main Server~" as for the saving part, look up read() and write() |
In response to Wanabe
|
|
thanks to all of you for helping
|
In response to DarkView
|
|
well i can't use raekwons scorebord beacuse it adds levels not maxpowerlevel so if any one can help me out with that
|
In response to CrazyFighter
|
|
is there anyway i can get a pet code kinda like in DWMA2? but with no battle system just them following me?
|
In response to CrazyFighter
|
|
CrazyFighter wrote:
well i can't use raekwons scorebord beacuse it adds levels not maxpowerlevel so if any one can help me out with that You got to be kidding me. Just change the var, not that hard. As a matter of fact, those are the basics of coding. RaeKwon |