Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Stock Market... New Version (https://forums.graalonline.com/forums/showthread.php?t=19745)

Androk2k1 12-27-2001 09:30 PM

Stock Market... New Version
 
1 Attachment(s)
K a while ago I asked about usual stock market, this time I want to make it like a bar in the top left corner of the screen with all the prices, names amounnts etc...

Only thing that stops me is... *drum roll*... How do I do NUMBERs for the bars? not like this:

if (this.number=1) {
setimg 1.png;
}

I mean numbers that catually varray.. so if varable changes, numbers change too.

OH BTW scince you ppl helped me I am putting my old script here, though I already sent it to Konidas but he probably spit on it already. Have Fun!

P.S. If you want to use it on YUR server, PM me for permission. Thank you.

Faheria_GP2 12-28-2001 12:46 AM

instead of a filename use "@#v(this.varible)"

Androk2k1 12-28-2001 04:51 AM

HUH?

Falcor 12-28-2001 05:22 AM

showimg index,@Font@bicus@Text,x,y;

bicus is Bold Italic Center Underline and Strikeout , but u only use the 1st letter. Font is like Tempus Sans ITC and Comic Sans MS. the Text is ANYTHNG you want to be. it works like message text;

[edit]
My advice: If you dont know how to do simple things. please dont attempt bigger things and get frustrated.
[/edit]

btedji 12-28-2001 06:26 AM

I like the idea and all but that is a big project

Androk2k1 12-28-2001 09:49 AM

Yeah... I know... That's why I wanted to do it =) It'll be wicked if I'll make it through... =)

dragoonvenganc 12-28-2001 11:03 AM

Yes it may be to big for him.. but if he works hard even though it will be very baddly scripted and just be bad...

He can learn alot off of it the best way to learn is to try to do it.. learn as u go

konidias 12-28-2001 11:13 AM

It would be nice to have companies related to the jobs and things on g2k1 now.. like "Harmonia Hats" and "Antora Snowcones" or something.. Then have the changes determined by how many snowcones/pies/bread/whatever is made that day.. and if it's higher then the day before, then the stock goes up, if it's lower then the day before, the stock goes down.

Then allow players to buy shares of the stock (limited) or something heh heh.. I don't quite like the idea of stocks on graal though

Androk2k1 12-28-2001 10:30 PM

That'll be WAAAAAAAy too hard... I mean to actually see how many snowcones are selling unless you'll tell me variables that determine amount of snowcones that NPC has

WoRlaNN2k 12-30-2001 08:58 AM

with that showimg text thing, how do you change the size and the color of it?

ArmadeusWarlock 12-31-2001 01:31 PM

It would be hard, but dont you think this is kind of going to ruin graal economy? They will just not do anything, then everyone will rush to do bred baking and then bred stocks will SHOOT through the roof, then after they sell them, they will stop, wait, and do something else. Gralats are getting more useless everyday =(

James 12-31-2001 03:03 PM

Not sure, but I think it would be.

changeimgzoom index, size;

entravial 01-01-2002 06:49 AM

good idea, nice your doing it, but i don't see a point. it would be better if you made them actual things instead


All times are GMT +2. The time now is 01:27 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.