Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 07:20:34 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Non-TTT maps problem
Pages: [1]
Author Topic: Non-TTT maps problem  (Read 6991 times)
Tommynator
Poster

Posts: 173

Tommynator is a traitor!


« on: October 10, 2011, 06:48:58 PM »

Hi,

I don't know why, but in all Non TTT maps (rearmed or without txt) the players don't spawn in preparing, but they do @ round start.
What can cause this? Thanks
BipolarDiZ
Poster

Posts: 101


|:NxS:| Staff! :D


« Reply #1 on: October 10, 2011, 07:48:02 PM »

I have only had this issue with dm_richland and it was fixed with a new rearm. I don't know what the issue is though. Try rearming it again, might work.

BipolarDiZ is bipolar.
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27015
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: currently offline
Willdy
Poster

Posts: 57


« Reply #2 on: October 14, 2011, 03:10:19 PM »

We have it for dm_richland also, does anyone have any ideas? :D
Tommynator
Poster

Posts: 173

Tommynator is a traitor!


« Reply #3 on: October 14, 2011, 06:21:53 PM »

Sorry for late answer.
I tried rearming several times, it doesn't works. I think I should review TTT spawning code and find an "alternative" way...
BipolarDiZ
Poster

Posts: 101


|:NxS:| Staff! :D


« Reply #4 on: October 14, 2011, 08:51:54 PM »

Also something that might have fixed it for us is this: http://ttt.badking.net/guides/faq

IDK if you are using linux but i did that sometime around when I was having the issue as well as with the rearming. Its the first faq.

BipolarDiZ is bipolar.
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27015
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: currently offline
Tommynator
Poster

Posts: 173

Tommynator is a traitor!


« Reply #5 on: November 04, 2011, 10:44:50 AM »

Just debbuged. I realized that problem was with "ImportSettings" function @ ent_replace.lua
So I did that


local function ImportSettings(map)
  if not ents.TTT.CanImportEntities(map) then return end
  MsgN("test 1...")
  local fname = "../maps/" .. map .. "_ttt.txt"
  print(fname)
  MsgN("test 2...")
  local buf = file.Read(fname)
  MsgN("test 3...")
  local settings = {}
  MsgN("test 4...")
  print(buf)
  local lines = string.Explode("\n", buf)
  MsgN("test 5...")
  for k, line in pairs(lines) do
     if string.match(line, "^setting") then
        local key, val = string.match(line, "^setting:\t(%w*) ([0-9]*)$")
val = tonumber(val)
        if key and val then
settings[key] = val
        else
           ErrorNoHalt("Invalid line " .. k .. " in " .. fname .. "\n")
        end
     end
  end
     MsgN("RETURRRNNNN...")
  return settings
end


The result is :


Weapon/ammo placement script found, attempting import...
Reading settings from script...
test 1...
../maps/cs_assault_ttt.txt
test 2...
test 3...
test 4...
nil
Timer Error: [@lua\includes\extensions\string.lua:34] bad argument #1 to 'string_gmatch' (string expected, got nil)


I'm not a lua pro, I have no idea about the cause of this. Please help me :<
« Last Edit: November 04, 2011, 11:02:47 AM by Tommynator »
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #6 on: November 04, 2011, 06:59:57 PM »

That is the problem fixed by this: http://www.zombiemaster.org/smf/index.php?topic=11222.msg446331#msg446331

The one garry was supposed to have fixed in a subsequent update except he didn't.

Seeing as it's not looking likely he'll fix it properly, I guess I'll have to put up a new .zip this weekend. And poke garry for SVN/beta access. :effort:
moarx
Poster

Posts: 40


« Reply #7 on: November 05, 2011, 12:35:56 AM »

That is the problem fixed by this: http://www.zombiemaster.org/smf/index.php?topic=11222.msg446331#msg446331

The one garry was supposed to have fixed in a subsequent update except he didn't.

Seeing as it's not looking likely he'll fix it properly, I guess I'll have to put up a new .zip this weekend. And poke garry for SVN/beta access. :effort:


He didn't give you beta access right away?
Mr. Gash
Poster

Posts: 382


www.nonerdsjustgeeks.com


« Reply #8 on: November 05, 2011, 01:27:40 AM »

He didn't give you beta access right away?

That's actually a bit surprising... And now I wonder how long it will take to fix what will be broken after he updates (that is, if BKU never gets beta access).
BipolarDiZ
Poster

Posts: 101


|:NxS:| Staff! :D


« Reply #9 on: November 05, 2011, 01:46:47 AM »

Well, Garrys is going to be giving more and more keys as it goes on. With that said someone who a key could just test the gamemode for him. Tons of fp threads about testing gms for beta. Also Garry himself said there shouldn't be any changes that someone can't fix in a little bit.

BipolarDiZ is bipolar.
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27015
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: currently offline
moarx
Poster

Posts: 40


« Reply #10 on: November 06, 2011, 07:03:12 AM »

Well, Garrys is going to be giving more and more keys as it goes on. With that said someone who a key could just test the gamemode for him. Tons of fp threads about testing gms for beta. Also Garry himself said there shouldn't be any changes that someone can't fix in a little bit.


I'm just a bit surprised considering it sounded as if (based on Garry's post about it) the first people to get beta access would be gamemode developers.
BipolarDiZ
Poster

Posts: 101


|:NxS:| Staff! :D


« Reply #11 on: November 06, 2011, 05:29:06 PM »

Yeah the first people were the most respected and so on so forth but I think it's ones that are more or less currently developing.

BipolarDiZ is bipolar.
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27015
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: currently offline
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Non-TTT maps problem « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.009 seconds with 17 queries.