Page 1 of 1

Runebook need freeze

Posted: Tue Aug 26, 2008 12:15 am
by stella
deleted

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 2:15 am
by phao
In order to modify the script we need the source code of your rune book script.

There just the ECL there.

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 3:13 am
by stella
i didnt have source code (((

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 4:37 am
by CWO
without the .src file, there is no way to ever modify the script.

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 4:37 am
by stella
maybe somebody has it? (((

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 4:52 am
by phao
You can TRY freezing the mobile before starting the runebook script and then unfreeze it after the script runned, however I don't think it'll be a good solution.

I don't know if that will be possible with that script, test it.

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 6:39 am
by stella
im really noob, could you say me what i must to do to make it that you say.
seems like good idea

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 9:22 am
by phao
Well, I don't know exactly to be honnest.

But it'd be something like this:

Code: Select all

program call_runebook_script(pc)
	pc.frozen := 1;
	Run_Script_To_Completion(":runebook:runebook");
	pc.frozen := 0;
endprogram
If this code doesn't work, try this:

Code: Select all

program call_runebook_script(pc)
	pc.frozen := 1;
	Run_Script_To_Completion(":runebook:runebook", pc);
	pc.frozen := 0;
endprogram
Keep in mind that I'm just trying things out. I don't know how this runebook script works, nothing. So both may not work.

If you want a hint from me, learn eScript. I think you use POL 095, you should be able to learn from here: http://docs.polserver.com/pol095/index.php

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 11:31 am
by Yukiko
Stella are you certain you don't have the source code? Look in your POL directory under \pol\pkg\items\runebook and see if there is a file named runebook.src.

If you are unfamiliar with scripting you might have the source files and just not know it.

Re: Runebook need freeze

Posted: Tue Aug 26, 2008 12:32 pm
by stella
If you say about this source:
http://rapidshare.com/files/140352126/runebook.rar.html
it didnt work, double click on runebook open trash can.... ((

Re: Runebook need freeze

Posted: Wed Aug 27, 2008 5:16 am
by Yukiko
You're right Stella it isn't in there.

Do you know which set of scripts you are running?
Is it the POL 0.95 Distro from the POL website or is it some version of the Zulu Hotel scripts? Also, I am curious what happened to the source files.

Anyway, if you can let me/us know which set of scripts it is you have that will help. I might be able to get you the source for it and maybe help out. Also, it sounds like the real problem is in the custom spell casting system for the runebook because normally when you cast a spell you are frozen while you do the 'mage dance'. I'm guessing someone wanted the players to be able to cast and run and so they took out the freeze while casting lines. Tell me, with regular spells like heal and magic arrow are you frozen when you cast those?

Re: Runebook need freeze

Posted: Wed Aug 27, 2008 6:23 am
by stella
Yukiko thx for attention to me.
So, then players cast any spell they may run, its their problems. I want only make "frozen status" to players which use recall by runebook. So i will paint some situation. Players A and player B are fighting. Player A more stonger than player B, so player B begin running away from A, and while he running away he open runebook ( while running ) and teleport, its not correct i think. So i need to fix it.
http://rapidshare.com/files/140352126/runebook.rar.html this source i take from thise site ( POL 095 for winXP)
and
this script are from my own server http://rapidshare.com/files/140185711/runebook.rar.html ( but there no source code)
then i take pkg\items\runebook from polserver.com and copy paste on my server, i meet new problem. Then i open runebook it open trash can
*(
and another one problem, then i run pol from this site ( polserver.com) i cant put marked recall runes in runebook, it alway wright " you cant put that i a runebook "

Re: Runebook need freeze

Posted: Thu Aug 28, 2008 5:02 am
by Yukiko
I took a look at the runebook.ecl file (that's the compiled file) and I'm using clues from that to see if I can find out which set of scripts it came from. If I can find that then we can get it setup for you maybe.

However, I would encourage you to try to learn to script. I know it can look like a huge mountain to climb but you'll enjoy it so much more when you can create your own simple scripts and find ways to improve the ones you have.

As for the Distro scripts not letting you drop runes in them, that might be a conflict between your set of scripts and the Distro.

Anyway, let me see what I can find. Maybe I can locate the source for your runebook scripts.

Re: Runebook need freeze

Posted: Thu Aug 28, 2008 5:14 am
by Yukiko
Looks like it's the standard runebook package from POL Distro 0.95.

I'll look at that later. I thought it did freeze you when you cast. Either way it shouldn't be too hard to add that to the script.

Re: Runebook need freeze

Posted: Thu Aug 28, 2008 5:34 am
by stella
I believe you will help me, thx