Profile for *i

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Recent posts

Pages

AuthorRecent posts
Instant death nodes in Blades of Avernum
The Establishment
Member # 6
Profile #24
Take a look at any of Jeff's scenario town scripts. Near the top, you will see a section for variables. You will often see:

int i, j
short choice

"i", "j", and "choice" are variables that are used throughout the script. You may define your own. Read the section on it in the documentation. If this gives you trouble, read up on the BASIC programming language. It should give you a basic understanding of the variable.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Hi in General
The Establishment
Member # 6
Profile #21
I have the sudden urge to lock this topic...but I won't, yet.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Problem in General
The Establishment
Member # 6
Profile #18
Goldenking pretty much said it. The forums are an environment visited by 9 year olds and the content needs to be appropriate for them. That being said, this is also the place for vigorous and healthy debate with more mature topics, so it is a balance between content and context.

Your signature brought up a mature concept with no appropriate context. The mods agreed that it was inappropriate and had to go. Access was removed temporarily as a token punishment. It should have been restored. If not let me know.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Blades Chat! (Time TBA) in Blades of Avernum
The Establishment
Member # 6
Profile #21
A cleaned up version by Laz and myself is available below. It does a few things differently:

1) Removes obsolete/redundant variables.
2) Solves a nasty problem of mixing the identity of the NPCs.
3) Extendable to work for any number of NPC types so long as they do not have the same creature ID.
4) Transfers level, stats, and status effects allowing more dynamic NPCs if the designer wishes.

Please give comments and bug fixes. I'd be surprised if it works in general. As a side note basicnpc is a bad idea with this script as it has a tendency to just return to its original editor placed position. A companion joinablenpc script should be developed.

//Created by Dahak on SAT DEC-29-2007
//Revised with the help Lazarus, Nioca, and Stareye. Thanks for the help!
begintownscript;

variables;
int i, new_npc1 = -1,new_npc2 = -1;

body;
beginstate INIT_STATE;

// Remove local versions of NPCs
erase_char(6);
erase_char(7);
//all the way up to char x

break;

beginstate START_STATE;

//Split NPC from Party when combat begins
if ( is_combat() && char_ok(4) ) {

new_npc1 = -1;
i = 6;
while (i <= 7) {
if (creature_type(4) == creature_type(i))
new_npc1 = i;
i = i + 1;
}

if (new_npc1 == -1) {
print_str_color("ERROR: No matching NPC to slot 4 found.",1);
}
else {

spawn_creature(new_npc1);

set_level(new_npc1, get_level(4) );

i = 0;
while (i <= 31) {
alter_stat(new_npc1, i, (get_stat(4,i) - get_stat(new_npc1,i)) );
i = i + 1;
}

i = 0;
while (i <= 30) {
set_char_status(new_npc1, i, get_char_status(new_npc1,i), 1, 0);
i = i + 1;
}

change_char_health(new_npc1, -1000);
change_char_health(new_npc1, get_health(4) );

change_char_energy(new_npc1, -1000);
change_char_energy(new_npc1, get_energy(4) );

relocate_character(new_npc1, char_loc_x(4), char_loc_y(4));
erase_char(4);
}
}
if ( is_combat() && char_ok(5)) {

new_npc2 = -1;
i = 6;
while (i <= 7) {
if (creature_type(5) == creature_type(i))
new_npc2 = i;
i = i + 1;
}

if (new_npc2 == -1) {
print_str_color("ERROR: No matching NPC to slot 5 found.",1);
}
else {

spawn_creature(new_npc2);

set_level(new_npc2, get_level(5) );

i = 0;
while (i <= 31) {
alter_stat(new_npc2, i, (get_stat(5,i) - get_stat(new_npc2,i)) );
i = i + 1;
}
i = 0;
while (i <= 30) {
set_char_status(new_npc2, i, get_char_status(5,i), 1, 0);
i = i + 1;
}

change_char_health(new_npc2, -1000);
change_char_health(new_npc2, get_health(5) );

change_char_energy(new_npc2, -1000);
change_char_energy(new_npc2, get_energy(5) );

relocate_character(new_npc2, char_loc_x(5), char_loc_y(5));
erase_char(5);

}
}

// Rejoin NPC with Party when combat ends
if ( (is_combat() == FALSE) && char_ok(new_npc1) )
add_char_to_party(new_npc1);

if ( (is_combat() == FALSE) && char_ok(new_npc2) )
add_char_to_party(new_npc2);

break;


beginstate EXIT_STATE;
if ( char_ok(new_npc1) )
add_char_to_party(new_npc1);
if ( char_ok(new_npc2) )
add_char_to_party(new_npc2);
break;


--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Bipolar in General
The Establishment
Member # 6
Profile #118
quote:
Originally written by Stillness:

A lot of natural processes can be understood with differential equations?
Oh yeah, the four fundamental forces (the basis of nature) are governed by them. So in some sense, all natural processes follow differential equations at some level.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Trakovites in Geneforge 4: Rebellion
The Establishment
Member # 6
Profile #4
No.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Problem in General
The Establishment
Member # 6
Profile #12
On getting access to your profile restored: If you swear at me, then no. I was hoping you would ask me politely for the access back, but you did not. You presume it is a right, but it is a privilege that may be revoked if you do not obey the rules of appropriate conduct.

[ Friday, December 28, 2007 16:10: Message edited by: *i ]

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Who Killed General? in General
The Establishment
Member # 6
Profile #35
Back in 2001.

Point being the status quo works 99% of the time and serves its intended purpose. In other words: it works well enough. Switching is always a risk because it is difficult to predict how other forums will behave in the long haul. Yes, switching might be easy in theory, but there is no incentive to do so.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Problem in General
The Establishment
Member # 6
Profile #7
Your signature was deemed in violation of the standards of this message board. Therefore it was deleted and your access privileges to modify your profile have been revoked.

Also, swearing at me ("wtf is going on") makes it less likely access will be restored anytime soon.

[ Friday, December 28, 2007 10:26: Message edited by: *i ]

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Who Killed General? in General
The Establishment
Member # 6
Profile #24
Time and convenience. These boards exist as a means for the fans of Spiderweb Software to communicate; they are not, however, the primary purpose of the company; releasing software is and these boards exist primarily for the game forums.

At the time UBB was one of the better ones out there and far superior to the old Ikonboards. While yes, Jeff and Mariann could make a different set of forums, this is a time sink. Realistically, what does that gain them? Not a whole lot. The forums work 99% of the time and serve their intended purpose. The time investment to set up a new, more stable message board is not justified.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Who Killed General? in General
The Establishment
Member # 6
Profile #7
My actions led to the destruction of the topic. However, otherwise General would be defunct. :(

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Who Killed General? in General
The Establishment
Member # 6
Profile #2
All right, somehow the one thing I tried time and again decided to work this time. Looks like things are somewhat back to normal for now. Let me know if problems persist.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Who Killed General? in General
The Establishment
Member # 6
Profile #1
Attempts to fix it have been regrettably unsuccessful.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
ARABS ARE GOING TO KILL MY SON in General
The Establishment
Member # 6
Profile #3
While I see your satire, others might not.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
What will happen to Spiderweb Software? in General
The Establishment
Member # 6
Profile #4
This topic is kind of morbid. Eventually Jeff will retire and no more games will be made. At such point it is time to move on. All things must go eventually, including this thread.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Omaha Mall Shooting in General
The Establishment
Member # 6
Profile #107
quote:
Originally written by Hollow Face:

True, but I believe the personal right to engage in risky behavior (and, yes, suicide) trumps the very small benefit to society of heavy-handed safety. It requires a bit of ethical calculus to work out exactly how the utiles stack up, but I don't a debt to society is a good justification for promoting mandatory safety measures.
It's a balance between the rights of the individual and the rights of those around. The problem is not wearing your seat belt increases your risk of having more severe injuries in a given accident.

So what? Well, health care in our society is subsidized as is everything else. Also, ratepayers for insurance also subsidize healh care as well. Sure, you have a right to engage is risky behavior, but do you have the right to insist that ratepayers of your insurance company pay the increased costs of your injuries? Unfortunately, there is no way to definitively prove what costs would have been had you been wearing your seatbelt, so it's impossible for your insurance just to cover that portion and leave you with the rest.

Mandating seat belts is simple and fairly non-invasive. While yes, it does infringe on your civil liberties to a small degree, it does not materially impact your life in any significant way other than reducing the risk of severe injury. On the same token, there is no right to drive automobiles on publicly maintained roadways. If you accept the benefits, you need to accept the rules that go with it.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00

Pages