Author Topic: Known Script Errors and Undocumented Changes {2.8.0}  (Read 15749 times)

0 Members and 1 Guest are viewing this topic.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Known Script Errors and Undocumented Changes {2.8.0}
« on: April 17, 2009, 08:34:16 pm »
Hey guys, a few things I found wrong with the new script core {2.8.0}

- nil

That's all I know so far, contact me if you find any script related errors.

Offline LORD KILLA

  • Camper
  • ***
  • Posts: 254
  • Happie
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #1 on: May 23, 2009, 01:17:51 pm »
very often at scripts:
"Access violation"
"Invalid opcode"
"Out of memory"

this sh*t never happend at 1.4.2, but happens at 1.5

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #2 on: June 02, 2009, 04:13:49 pm »
MovePlayer still makes a player's weapon drop. This occurs in Hexer and didn't occur with 2.6.4
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline SNAKE[rus]

  • Major(1)
  • Posts: 2
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #3 on: June 06, 2009, 04:48:10 pm »
sry, mb i missed smth in that life but does procedure ForwardClient works in 2.6.5 ?? that procedure seems to be crashed O_o

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #4 on: June 06, 2009, 05:13:52 pm »
sry, mb i missed smth in that life but does procedure ForwardClient works in 2.6.5 ?? that procedure seems to be crashed O_o
Make sure you're using the new syntax:
http://devs.soldat.pl/wiki/index.php/ForwardClient

If you use it correctly and the script compiles and after which you still have problems, make your own topic where you outline the exact issues you might be having with it.

Offline SNAKE[rus]

  • Major(1)
  • Posts: 2
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #5 on: June 07, 2009, 10:47:04 am »
ups, sorry...i'm just noob ^^ it'sworks greatly  :-[
also... why this procedure needs player IP and Port? server couldnt get it automatically?
« Last Edit: June 07, 2009, 10:54:25 am by SNAKE[rus] »

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Macellan
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #6 on: June 09, 2009, 01:43:56 pm »
StartVoteMap function doesn't work.

Quote
21:39:32 › xmRipper: I think StartVoteMap function doesn't work on dedicated 265. Can anyone test it?
21:42:35 › Curt`: agreed
CoFounder / CTO @ Macellan
Founder Turkish Soldat Community

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #7 on: June 09, 2009, 07:10:20 pm »
StartVoteMap function doesn't work.

Quote
21:39:32 › xmRipper: I think StartVoteMap function doesn't work on dedicated 265. Can anyone test it?
21:42:35 › Curt`: agreed
Actually, that wasn't was I was saying agreed to. I was saying I agreed to liking using custom vote systems better because you can get more information out of it. But I just tested this, /votemap nor does the function work. Neither does StartVoteKick, nor /votekick (but I don't even know for certain if that was a built-in command.)

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #8 on: June 09, 2009, 07:48:32 pm »
Yeah I already know neither of the vote initiating functions work. Fixed it a couple of weeks ago

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #9 on: June 11, 2009, 04:04:23 pm »
alpha no longer works for WriteConsole?
I tried WriteConsole(0, '  ', $00000000); and I saw it as black!
Also tested wit alpha of 7F.
I require alpha for what im doing :(

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #10 on: June 11, 2009, 05:30:44 pm »
Nothing has ever been added to remove alpha from the console, as far as I can remember Alpha had never worked with the console anyway

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #11 on: June 11, 2009, 07:57:43 pm »
Nothing has ever been added to remove alpha from the console, as far as I can remember Alpha had never worked with the console anyway
I think when WriteConsole and stuff was first out, when I tested it, it seemed to work. Or my memory is failing on me.
Could you (with a please) add support for it? :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #12 on: June 11, 2009, 11:42:15 pm »
DrawText's 65-character limitation

EDIT: actually often crashes for all players / players who see it (possible due to length?)
« Last Edit: June 12, 2009, 12:31:55 am by DorkeyDear »


Offline iDante

  • Veteran
  • *****
  • Posts: 1966
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #14 on: June 29, 2009, 04:30:54 pm »
Code: [Select]
procedure OnWeaponChange(ID, PrimaryNum, SecondaryNum: Byte);
begin
if (PrimaryNum <> 255) then
ForceWeapon(ID, 255, 255, 0);
end;
Join, pick a weapon (should change you to hands), then switch to secondary weapon. Ammo goes to 0, animation locks up, can't change weapons, eek!
Rolling/proning fixes it, and it only happens with high numbers (past all the guns).

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #15 on: June 29, 2009, 08:05:29 pm »
what about GetPlayerStat(ID,'Ammo') after the ForceWeapon? Is it fixed?
KAWAAAAAAAIIIIIIIIII

Offline LORD KILLA

  • Camper
  • ***
  • Posts: 254
  • Happie
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #16 on: July 04, 2009, 12:34:54 pm »
idk about GetPlayerstat(id, 'Ammo); but Forceweapon() is fixed, yes

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #17 on: July 04, 2009, 04:43:13 pm »
idk about GetPlayerstat(id, 'Ammo); but Forceweapon() is fixed, yes
What was the bug?
KAWAAAAAAAIIIIIIIIII

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #18 on: July 04, 2009, 05:18:53 pm »
In server version 2.6.4 it crashed the whole server when used.
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: Known Script Errors and Undocumented Changes {2.6.5}
« Reply #19 on: July 08, 2009, 07:00:55 am »
KAWAAAAAAAIIIIIIIIII