Author Topic: Trenchwar Domination - v0.2.3 - Airstrike fixed  (Read 46453 times)

0 Members and 1 Guest are viewing this topic.

Offline Freedom

  • Major
  • *
  • Posts: 97
  • Veritas Vincit
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #60 on: August 14, 2007, 02:17:50 pm »
I still don't understand.
It doesn't work! (there is airstrike but i don't see bullets :/)
Cum pare contendere anceps est, cum superiore furiosum, cum inferiore sordidum.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #61 on: August 14, 2007, 02:24:44 pm »
gah... condition still wrong, but now it should be easy to fix... i'll upload a finally stable airstrike condition in 5 minutes

EDIT:

fixed. all 's fine now, just redownload
« Last Edit: August 14, 2007, 02:28:49 pm by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Freedom

  • Major
  • *
  • Posts: 97
  • Veritas Vincit
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #62 on: August 14, 2007, 02:26:03 pm »
I hope so :D

EDIT:

OMFG this rox!
It work in 100% [retard]

But on map ex. Ash, Laos it doesn't :(

But in maps like tw_Rime it works!! ;D
« Last Edit: August 15, 2007, 04:45:49 am by Freedom »
Cum pare contendere anceps est, cum superiore furiosum, cum inferiore sordidum.

Offline SoNNy

  • Soldier
  • **
  • Posts: 210
  • Whoosaaa
    • Soldat gamepark
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #63 on: August 15, 2007, 10:59:13 am »
I got it, when is realistic ON,  I can't see m79 bullets falling from sky, i see them,when i get killed from them.

But on Enesce's servers is realistic mod too and you can see the airstrike bullets.

edit:when is realistic off i can see the airstrike bullets nice

92% of teens have moved onto hip-hop. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #64 on: August 15, 2007, 11:26:28 am »
I have a suggestion: Make it so it saves to a file the max left and right distance a person has ever traveled to per map, and have the script calculate 10 evenly distributed sections throughout the map (or however many you set it to, i forget, didn't see it in first post), even if it is a custom map or non-TW map. This way the script will work for pretty much any map, although it would need a few people to set the min and max by traveling there first.

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #65 on: August 15, 2007, 11:43:21 am »
This is awesome now it works for me too. thank you avarax!
but wen i change bullet types the bullets become invisible

May i create a programm for installing a trenchwar server and that that program is able to modify easly some settings of you script etc? would be cool if so.
« Last Edit: August 15, 2007, 11:56:39 am by MR X »
Soldat Rulezz and must be played forever

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #66 on: August 15, 2007, 12:21:23 pm »
bullettypes 8,9 and 12 are blocked because they cause troubles. (Enesce blocked them)
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Snipufin

  • Camper
  • ***
  • Posts: 281
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #67 on: August 15, 2007, 12:25:18 pm »
I hope so :D

EDIT:

OMFG this rox!
It work in 100% [retard]

But on map ex. Ash, Laos it doesn't :(

But in maps like tw_Rime it works!! ;D
Maybe they don't work if the map has a roof?
Quote
Name:     Snipufin
Posts:    111 (1.11 per day)
Position:    Soldier
Karma:    -11

Offline SoNNy

  • Soldier
  • **
  • Posts: 210
  • Whoosaaa
    • Soldat gamepark
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #68 on: August 15, 2007, 12:28:54 pm »
Have someone same problem like me ? When is realistic mode ON a can see m79 bullets only when i get killed from them.


92% of teens have moved onto hip-hop. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Offline Flying Dutchman

  • Soldier
  • **
  • Posts: 242
  • Boomshakalack!
    • Real Soldat!
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #69 on: August 15, 2007, 02:22:56 pm »
This is just what Trenchwar needed to declare a winner, since most of the time scores end up 0:0. Great job Avarax!
There's just one thing and I'm sorry if this is already a known fact, but after a while the script goes haywire with access violations.

Some snippets from the log:

The server runs fine at first but after a while the first error apears and errors start appearing every once in a while, as you can see the time.
Quote
07-08-15 20:18:54 
  • [Error] Trenchwar Domination -> (OnPlayerSpeak): Out of Global Vars range

07-08-15 20:22:23 
  • [Error] Trenchwar Domination -> (Airstrike): Out Of Range

07-08-15 20:22:23 
  • [Error] Trenchwar Domination -> (AppOnIdle): Out Of Range

07-08-15 20:34:28 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 08098E1E, accessing address 0000000C

07-08-15 20:36:28 
  • [Error] Trenchwar Domination -> (AppOnIdle): Out of Global Vars range

07-08-15 20:38:28 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 08098E1E, accessing address 0000000C

07-08-15 20:38:28 
  • [Error] Trenchwar Domination -> (Airstrike): Access violation at address 08098E1E, accessing address 0000000C

07-08-15 20:41:28 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 08098E1E, accessing address 0000000C

07-08-15 20:41:28 
  • [Error] Trenchwar Domination -> (Airstrike): Access violation at address 0809E63B, accessing address 00000109
Then after a while, it starts spitting out errors nonstop. Just an example:

Quote
07-08-15 20:46:52 
  • [Error] Trenchwar Domination -> (OnPlayerSpeak): Access violation at address 0809E6C4, accessing address 00000370

07-08-15 20:46:52 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 00000380

07-08-15 20:46:53 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 00000390

07-08-15 20:46:54 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 000003A0

07-08-15 20:46:54 
  • [Error] Trenchwar Domination -> (OnWeaponChange): Access violation at address 0809E6C4, accessing address 000003B0

07-08-15 20:46:55 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 000003C0

07-08-15 20:46:56 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 000003D0

07-08-15 20:46:57 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 000003E0

07-08-15 20:46:57 
  • [Error] Trenchwar Domination -> (OnWeaponChange): Access violation at address 0809E6C4, accessing address 000003F0

07-08-15 20:46:58 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 00000400

07-08-15 20:46:59 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 00000410

07-08-15 20:46:59 
  • [Error] Trenchwar Domination -> (OnPlayerDamage): Access violation at address 0809E6C4, accessing address 00000420

07-08-15 20:46:59 
  • [Error] Trenchwar Domination -> (OnPlayerKill): Access violation at address 0809E6C4, accessing address 00000430

07-08-15 20:46:59 
  • [Error] Trenchwar Domination -> (OnWeaponChange): Access violation at address 0809E6C4, accessing address 00000440

07-08-15 20:47:00 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 00000450

07-08-15 20:47:00 
  • [Error] Trenchwar Domination -> (OnPlayerDamage): Access violation at address 0809E6C4, accessing address 00000460

07-08-15 20:47:00 
  • [Error] Trenchwar Domination -> (OnPlayerKill): Access violation at address 0809E6C4, accessing address 00000470

07-08-15 20:47:00 
  • [Error] Trenchwar Domination -> (OnWeaponChange): Access violation at address 0809E6C4, accessing address 00000480

07-08-15 20:47:00 
  • [Error] Trenchwar Domination -> (OnPlayerDamage): Access violation at address 0809E6C4, accessing address 00000490

07-08-15 20:47:01 
  • [Error] Trenchwar Domination -> (AppOnIdle): Access violation at address 0809E6C4, accessing address 000004A0
And so on.

Is this a serverside fault, or a bug in the script? What can be done about it if it's a serverside fault?
Again, I'm sorry if this is already a known bug in the script.  [retard]

Edit: I noticed this happens when/when this happens the airstrike gets stuck at 6 seconds. From then on the whole scripts doesn't work anymore.
« Last Edit: August 15, 2007, 04:03:01 pm by Flying Dutchman »

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #70 on: August 15, 2007, 05:22:09 pm »
Have someone same problem like me ? When is realistic mode ON a can see m79 bullets only when i get killed from them.


did you actually add the bot file?

@Flying Dutchman:
I'd guess this is a serverside problem regarding ThreadFuncs, the script uses those for the airstrike in a combination with the sleep() function which is generally a tricky job. Are you sure that there were no Airstrikes overlapping each other (I mean 2 happening at the same time)?
« Last Edit: August 15, 2007, 05:25:25 pm by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Flying Dutchman

  • Soldier
  • **
  • Posts: 242
  • Boomshakalack!
    • Real Soldat!
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #71 on: August 15, 2007, 05:59:16 pm »
@Flying Dutchman:
I'd guess this is a serverside problem regarding ThreadFuncs, the script uses those for the airstrike in a combination with the sleep() function which is generally a tricky job. Are you sure that there were no Airstrikes overlapping each other (I mean 2 happening at the same time)?

At one time we spammed the /airstrike command, causing many overlapping airstrikes, which indeed bugged script. :P
But in general, after restarting the server, it happens after 2 or 3 maps with no apperent reason, no overlapping airstrikes. When I do /recompile, and kick the "old" bot, the script works again halfly. One team dominates the whole map according to the domination stats and when an airstrike comes in, it gets stuck at 6 seconds and the whole script stops working again.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #72 on: August 15, 2007, 06:08:44 pm »
I guess it's a serverside thing then, I can't do much about ThreadFunc being buggy. It is actually possible to do it without threadfuncs if I think a bit about it...
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #73 on: August 15, 2007, 06:58:39 pm »
Are you sure that there were no Airstrikes overlapping each other
It would be a good idea to set a boolean when it starts and ends to make it so only one can happen at a time, thats if you are still using the ThreadFunc thing in next version. If not, then nvm.
« Last Edit: August 15, 2007, 07:00:16 pm by DorkeyDear »

Offline SoNNy

  • Soldier
  • **
  • Posts: 210
  • Whoosaaa
    • Soldat gamepark
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #74 on: August 16, 2007, 09:18:09 am »
Have someone same problem like me ? When is realistic mode ON a can see m79 bullets only when i get killed from them.


did you actually add the bot file?

yes, I did. I made a video for demonstration  (low quality, but you can see it)




« Last Edit: August 16, 2007, 09:24:25 am by SoNNy »

92% of teens have moved onto hip-hop. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Offline Dizzy So 1337

  • Soldier
  • **
  • Posts: 246
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #75 on: August 19, 2007, 03:44:00 pm »
Tiny typo in script, 'Dizzy is awarded 1 nade for grabbing'
xfire - todhostetler
"There's nothing I wouldn't do to win. But I never hurt anyone except to stick a dogskull on a stake."

Offline Carlitos

  • Camper
  • ***
  • Posts: 413
  • Dont Give Up
    • Mr.Pants adventures on Soldat
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #76 on: August 19, 2007, 05:59:03 pm »
holy fucking shit!!!!
This is incredible!!! (sry but i didnt played in any TW server)
gj
---See the advantures of Mr.Pants and others in soldat---
http://www.youtube.com/TugaSoldatTV
-------------------------------
Amen
-------------------------------

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #77 on: September 05, 2007, 04:27:31 pm »
In request from Ride
/trench on/off to disable/enable tw commands

appearntly i cant attach files to pm's, so i thought this would be the best spot.

Offline Dizzy So 1337

  • Soldier
  • **
  • Posts: 246
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #78 on: September 07, 2007, 04:52:16 pm »
OK here's my problem.  I'm running this in tandem with eC's subadmin script.  Problem is, that the Domination admin commands get activated to anyone that logs in as a subadmin.

The major issue for me is that that means that a lot of people can call in airstrikes at will.  And you know how some monkeys are with the big shiny red button...

How can i disable the admin /airstrike command?  To be honest I don't need or use anything from the Domination script except the scoring.  A permanent disabling of airstrikes and mines at the root of the server would suit me fine if that's the easiest solution.
xfire - todhostetler
"There's nothing I wouldn't do to win. But I never hurt anyone except to stick a dogskull on a stake."

Offline chillis34

  • Major
  • *
  • Posts: 68
    • [FT] Clan Web Site
Re: Trenchwar Domination - UPDATE: v0.2.2
« Reply #79 on: September 10, 2007, 06:18:18 pm »
Every so often i get this error on my server [Error] Trenchwar Domination -> (Airstrike): Invalid Opcode and I get a connection problem while the rockets fall.
I am the smartest :D