v27 crashing
Displaying 1-12 of 12 total.
1
suicdman
|
I have a script to change maps in v27 and it crashes. It has given me a lot of frustration and I would like to know of someone could know what is wrong with it.
Posted on 2001-11-05 20:41:30
|
andy
|
v27/ika should *never* crash. Ever.
Could you kindly email me a testbox? I need to see this first-hand. Just stuff it in thespeedbump@shaw.ca, and I'll take a look at it as soon as I can. :)
"Ignorance is its own reward" -- Proverb
Posted on 2001-11-06 08:31:58
|
suicdman
|
Well I fixed the problem. It was just one of those things where you need to restart your computer for it to work. But I did that and it finally worked a few days later! It got me a little mad though! But my maps switch now and there is another problem! When I switch maps it puts my guy in a spot were I don't want him!! I tried to switch it to another map and it dies the same thing!! Can you help me!!
Posted on 2001-11-08 08:06:31
|
andy
|
Just move him yourself. ;)
def MapSwitch(filename,x,y):
global player # replace this to suit your code
map.Switch(filename)
player.x=whateverIwant
player.y=whateverIwant
Due to the way ika works, you can do that, and it'll work just fine. :)
"Ignorance is its own reward" -- Proverb
Posted on 2001-11-08 08:28:30
|
suicdman
|
Thanks for the code but that's what I use. And I have everything the way that it should be and it gives me an error that argument 1 must be string not module. It is confuesing me and I need some help!
Posted on 2001-11-08 14:43:38
|
andy
|
um... did you put the filename in quotes when you called it?
MapSwitch('mymap.map',x,y)
or
MapSwitch("mymap.map",x,y)
"Ignorance is its own reward" -- Proverb
Posted on 2001-11-08 18:20:43
|
suicdman
|
Well it does work now. But now it switches the map fine but it moves me to a place on the map that I didn't specify! Can you help me! My syntax is
def MapSwitch():
map.Switch('underground.map')
player.x=23
player.y=4
Posted on 2001-11-08 19:27:02
|
Kazier989
|
That's the problem. It SHOULD look like:
def MapSwitch(amap,xm,ym)
map.Switch(amap)
player.x=xm
player.y=ym
That way, you can use this MapSwitch script anywhere just be typing in the function and then it'll do everything for you. So if you were on a map, put in the function:
MapSwitch('underground.map',23,4)
...and it will equal exactly what you have up there.
I'm not sure if this was quite what your asking for, but since I'm more diehard for VC I don't think I'll venture much more into this Python stuff..
Check out my homepage.
Posted on 2001-11-09 08:26:39
|
suicdman
|
The formula that you gave me doesn't work. It gives me syntax errors all the time and I am using v27 and I am a newbie. Just in case you might be wondering! I need some really in depth explanation!
Posted on 2001-11-10 14:10:14
|
Kazier989
|
That's my Python 5|
Check out my homepage.
Posted on 2001-11-13 21:46:07
|
suicdman
|
Well it still doesn't work for me. Sorry for bothering you.
Posted on 2001-11-13 22:19:18
|
Kazier989
|
I typed in a message in reply to this one ("bleh") but it got cut off when I typed "5|
Check out my homepage.
Posted on 2001-11-14 08:13:52
|