Ted's RPG Rant

A place to rant about RPG games, particularly the Temple of Elemental Evil. Co8 members get a free cookie for stopping by. Thats ONE cookie each, no seconds.

Friday, March 24, 2006

Boasting

Winnings: $1093

I love it when a new script I have invented out of my head actually works. Its so rare for one thing ;-) I much prefer to use existing stuff, and Liv has left so little for the rest of us to discover!

Anyway, I came up with the tiny little idea that follows as a way to get multiple (similar) NPCs to fire off a single dlg file, without a complicated script to have to check which NPC is using it. Something like this:

def san_dialog( attachee, triggerer ):
________if obj.name == x:
________________attachee.float_line(x,triggerer)
________if obj.name == x+1:
________________attachee.float_line(x+1,triggerer)
________if obj.name == x+2:
________________attachee.float_line(x+2,triggerer)
________if obj.name == x+3:
________________attachee.float_line(x+3,triggerer)
.
.
.
.
.
.
________return SKIP_DEFAULT

Etc. I can imagine C-Blue sending me viruses if I did such a thing.

So instead I did this (the npcs in question are at 14596 onward. Thats for KotB btw, if anyone is using these numbers for ToEE, don't sweat it ;-))

def san_dialog( attachee, triggerer ):
________line = attachee.name - 14590
________attachee.float_line(line,triggerer)
________return SKIP_DEFAULT

Simple! I wasn't sure if obj.name could be used as an integer like this, but it can apparently. 8^D I really have to learn to do Python properly, so I can use some of this integer-handling stuff. If u know of a GOOD Python tutorial site u have personally used, post the url here (no don't just Google it, I could do that, and I did, and it didn't get me far). I know some folks at Co8 have taught themselves Python and have clearly gone way past me, so time to share!

The only problem getting it to work was for some reason I shoved the dlg/py files off at 500, forgetting there was already a 500 in the game (an obscure demo file). SO the first time I ran it, it didn't work and I screamed and ranted and raved and went to bed in frustration. Lying in bed I remembered seeing the 500 file and figured out the problem, and got it going this morning.

The original 500 file has this, btw:

def san_use( attachee, triggerer ):
________cheats.kos = 0
________return SKIP_DEFAULT

Verrrrrrrrry interesting... stay tuned for an investigation into how these damn flags can be accessed.

3 Comments:

At 4:40 pm, Anonymous Cerulean the Blue said...

I wouldn't send you viruses for that. I would be suprised if it worked though. I tried something simimlar once and it didn't work.

 
At 10:22 pm, Blogger ShiningTed said...

Ummm, I don't post stuff that I aint tested, Blue... course it worked!

Y don't u just call me 0rion and be done with it?!?! T.T

 
At 3:11 pm, Anonymous Anonymous said...

.














Hi, seeing as you accept anonymous blogging I thought I would send you this info about online gambling from a guy at work. His blog features internet sports gambling and he has made a fortune from online gambling.

The Online Casino Startup Bonus

When choosing a trustworthy online casino there are many factors you need to consider. Just because one of the great number of online casinos existent today has impressive graphics, games and offers a wide diversity of bonuses, it doesnt mean its a fair and licensed one. Of course, such cases are rare, and, since today there are hundreds of reputable virtual casinos one can choose from, the most important criteria when deciding which one to play at is what they offer.

The first bonus you can get when you first open an account at a casino is the sign up bonus most casinos offer, an encouraging bonus of at least $25, but it may often be higher than $500. Some casinos even match your first deposit, meaning they double it, for free.

Many casinos also offer hundreds of dollars worth bonuses for new players and, if you're the one who brings other friends to the casino, things are even better than that. Most casinos offer a refer a friend bonus and, the more friends you have, the more fortunate you will get. For each friend you refer to the casino, you will get up to $1000, for each friend that they refer, you'll earn up to $300 and, furthermore, for each person that your friend's friends refer, you will earn up to $100. Once you are confident that particular casino is a reliable one, bring as many of your friends as you can to the casino and you'll have all the reasons to enjoy their games. The only thing you need to pay attention to afterwards is to handle the money wisely and not risk it all in a single bet, however confident you may be.

And most casinos give you an alternative to this. They offer you the chance to practice for free at first, and they also give you money to do that, so, it's practically free and you have nothing to lose. When you find the right casino you'll know it from the first time you play there. From then on, they will remind you how important you are to them by giving you special bonuses every month. These bonuses are somewhere around $100 and even higher and they reward you for being a loyal customer. These casinos also offer the so called comp points that accumulate throughout the course of the games you play and at certain points they turn into real money and, depending how long you have been playing at that casino, you may win lots of money.

The most important bonuses casinos offer are the jackpots and prizes you can win at their games. Casinos reward players with millions of dollars each day for their gaming skills. Tournaments and regular casino games are most profitable for gamblers. Only one progressive jackpot, for one single game of slots, for instance, can be of over $ 2 million. And it's only a matter of seconds and a bit of luck to win it.

Most casinos don't need a special occasion to give bonuses. They offer bonuses for the players third and fourth deposits, for being loyal to the casino, or just for being at a table at a certain time. So, it’s only a matter of finding the right casino and from there on, bonuses will keep coming to you. The only problem is that if you don't have a proper money management you won't treasure what you win, it will go away as easily as it came. We may all want those bonuses, but do we know what to do with them and how much of it we should risk in our next bet?


A guy at work recommends the following Casino Gaming Sites, (the trick is to sign up to each and get your startup bonuses) once you have played each one for a while you will get to know which one suits your style of play and which is therefore the most profitable one for you.


as follows:

CASINO CLASSIC


PLAY65.COM


888.COM


CASINO-FOR-ME


SPORTING ODDS CASINO


PARTY POKER.COM


ALSO CHECK OUT THESE COOL ONLINE BINGO SITES - PERFECT TO KEEP YOUR MUM/GRANNY HAPPY!!


BINGO BOUDOIR


BINGOLICIOUS


TWO FAT LADIES BINGO









.

 

Post a Comment

<< Home