Search found 18 matches

by Polytropon
Tue Feb 07, 2012 8:43 am
Forum: Current stable release (099)
Topic: High Seas and Boat smooth movement
Replies: 13
Views: 3773

Re: High Seas and Boat smooth movement

I saw this some time ago, maybe it helps:

http://www.runuo.com/community/threads/ ... ds.105330/

Specially posts #5 and #20.
by Polytropon
Thu Jan 19, 2012 12:15 pm
Forum: Scripting Help
Topic: Trouble with Chrdeath.src
Replies: 11
Views: 1979

Re: Trouble with Chrdeath.src

There should be a guide about compiler warnings and errors, as a complement to the EScript guide.

Although they seem pretty obvious when you know them, I can´t help remembering when I was 13 and they made me learn Pascal at school. I would´ve killed to know what "Boolean expression expected" meant :P
by Polytropon
Thu Jan 05, 2012 7:13 am
Forum: Complete Worlds
Topic: Zulu Hotel Shard Project POL099
Replies: 64
Views: 30316

Re: Zulu Hotel Shard Project POL099

Mallary wrote:How do trees and to leave the mines with infinite resources in one area?
Define a more plentiful region in ore.cfg and wood.cfg.

P.S.: your translator sucks
P.P.S.: no se te entiende un pomo, esa traducción está lejos de ser coherente
by Polytropon
Tue Dec 06, 2011 5:38 pm
Forum: Current stable release (099)
Topic: Character weight limit
Replies: 9
Views: 1719

Re: Character weight limit

He has a sixth sense when someone pronounces his name. Even misspelled :)
by Polytropon
Mon Nov 28, 2011 6:14 pm
Forum: Current stable release (099)
Topic: skillid trouble!
Replies: 1
Views: 620

Re: skillid trouble!

The compiler is telling that SKILLID_HIGHEST hasn´t been declared. As you seem to know how to declare a variable/constant, I guess you made it local instead of global, so it´s out of the scope of your function. If that´s the case, just move the declaration of the constant outside the program.
by Polytropon
Mon Nov 28, 2011 1:18 pm
Forum: Scripting Help
Topic: Weight tallying script and weight issues.
Replies: 4
Views: 1159

Re: Weight tallying script and weight issues.

The number "250" makes me think immediately in this setting in servspecopt.cfg: # # DefaultContainerMaxItems, DefaultContainerMaxWeight # These values will be used for containers that do not define "MaxItems" and "MaxWeight" # in their itemdesc.cfg entries. # DefaultContainerMaxItems=125 DefaultCont...
by Polytropon
Sun Nov 27, 2011 6:15 pm
Forum: Scripting Help
Topic: Weight tallying script and weight issues.
Replies: 4
Views: 1159

Re: Weight tallying script and weight issues.

I tested the weight of naked character (checking layer by layer, so I have no invisible item equipped), and it's 10 stones. Hooked the status, and the core is sending the same number. Couldn´t find where that "ten" comes from, tough. "Character.weigth" seems to return 10 + the sum of all equipped it...
by Polytropon
Tue Nov 08, 2011 1:41 pm
Forum: Guides
Topic: Config File Guide
Replies: 10
Views: 3529

Re: Config File Guide

Are element names case sensitive? I had trouble with the day/night cycle and discovered that light.cfg had LightRegion Background but my script was looking for "background" with a lowercase "b" and so my day/night cycle wasn't working. It´s easier write a test-textcmd than to ask :) For a file cont...
by Polytropon
Sun Nov 06, 2011 7:44 am
Forum: Guides
Topic: Packets for dummies
Replies: 2
Views: 1956

Re: Packets for dummies

Thanks, updated.
I forgot that I live in a 098 world.
by Polytropon
Thu Nov 03, 2011 1:27 pm
Forum: Rants
Topic: learning curve must be lowered
Replies: 14
Views: 3433

Re: learning curve must be lowered

Hey Polytropon, would you care to share your guide? I'm brazillian, but I can speak a good amount of spanish, and maybe I could spare your work of translating it! I will understand if you want to do it yourself though :D I translated the guided and posted it in the new forum. However, if you prefer...
by Polytropon
Thu Nov 03, 2011 12:26 am
Forum: Guides
Topic: Packets for dummies
Replies: 2
Views: 1956

Packets for dummies

Although I´m no packet-wizard, I think my limited experience may help someone. I doubt the guide is perfect, so feel free to make corrections (or edit if you are a moderator). I tried not to give too many things as obvious, so this would be a good starter guide to the world of packets. If some parag...
by Polytropon
Tue Oct 25, 2011 8:21 am
Forum: Rants
Topic: learning curve must be lowered
Replies: 14
Views: 3433

Re: learning curve must be lowered

Maybe a couple of guides that are a little less theoretic than Racalac's would do the trick. The Gump tutorial is a good example, as it covers a limited subject and explains how to make it compile. I think it´s a better solution than amputating the core. By the way, when I was learning how to script...
by Polytropon
Fri Sep 02, 2011 2:59 pm
Forum: General Help (098)
Topic: CInt()
Replies: 6
Views: 1431

Re: CInt()

Haha, sorry for my ignorance.

I´ll keep it in mind in case I lose two fingers. :)
by Polytropon
Fri Sep 02, 2011 1:07 pm
Forum: General Help (098)
Topic: CInt()
Replies: 6
Views: 1431

CInt()

Don´t know how to submit a bug, so I posted here. It would be nice to understand why does this happen (just for curiosity). Output of the CInt() function for some arbitrary strings that commence with zero: CInt("01") = 1 CInt("02") = 2 CInt("03") = 3 CInt("04") = 4 CInt("05") = 5 CInt("06") = 6 CInt...
by Polytropon
Mon Jan 17, 2011 7:04 am
Forum: Scripting Help
Topic: Possible eScript scope related bug
Replies: 6
Views: 812

Re: Possible eScript scope related bug

You must write the brackets next to "sfx" to be considered a function, even if that function need no arguments. If you don´t, it will think it´s a variable. as I said before, change: function shot_sfx(attacker, defender, hit, sfx, miss_sfx) to function shot_sfx(attacker, defender, hit, sfx () , miss...
by Polytropon
Sun Jan 16, 2011 10:18 am
Forum: Scripting Help
Topic: Possible eScript scope related bug
Replies: 6
Views: 812

Re: Possible eScript scope related bug

but the compiler is showing the error! : Expected '(' after function name 'sfx'


you should write:

function shot_sfx(attacker, defender, hit, sfx(), miss_sfx)
by Polytropon
Fri Oct 01, 2010 1:35 pm
Forum: General Help (097)
Topic: Help with a custom weapon hit script
Replies: 7
Views: 2074

Re: Help with a custom weapon hit script

Are you sure the script is even running? (by placing a Print or so) If it does, the problem sould be that you messed with the distro functions. If it does not, maybe you are hooking the attack and overriding the scripts. Or you have a wrong bow which doesn´t have that scripts attached (everything is...
by Polytropon
Wed Sep 29, 2010 8:26 pm
Forum: Scripting Help
Topic: Totems
Replies: 2
Views: 818

Re: Totems

It's pretty easy. You should move it with the function MoveItemToContainer and send it to character.backpack. In fact, it's so easy that I believe you have no idea of what you are doing. :) It should also be on a different script (this script is intended for creating the mount and you want to place ...