Garry's Mod

Garry's Mod

Fairy Companion
 此主题已被置顶,因此可能具有重要性
Xrayman  [开发者] 2019 年 6 月 16 日 下午 2:55
BUGS
Feel free to put down bugs you encounter
< >
正在显示第 1 - 15 条,共 67 条留言
Terrarian Dragon 2019 年 6 月 23 日 下午 3:10 
[ERROR] lua/entities/gmod_fairy/init.lua:770: Tried to use a NULL entity!
1. SetParent - [C]:-1
2. unknown - lua/entities/gmod_fairy/init.lua:770

Xrayman  [开发者] 2019 年 6 月 23 日 下午 3:36 
Okey I have found the problem. This may happen when you collect a looted item that fairy keep holding. I am fixing it ...:steamfacepalm:
Xrayman  [开发者] 2019 年 6 月 23 日 下午 3:39 
Patched.

Thank you for telling me !
Rasmordem 2019 年 6 月 24 日 上午 10:57 
I am not sure if this is a bug or not, but Fairies don't teleport with you. In a map that has portals or just teleporting in general, the Fairies do not come with you if you enter. What they do instead is just slam themselves against the wall trying to get to you. Respawning after death makes them spawn with you, they just don't teleport with you.
最后由 Rasmordem 编辑于; 2019 年 6 月 24 日 上午 10:59
Xrayman  [开发者] 2019 年 6 月 24 日 下午 12:44 
You're right this is not a bug... In fact, fairy is following your position, and they don't "redo your path" with delay, so if you teleport, it is trying to get you...
Sorry, but this is the core of the program, and I don't think it can be helped easily...

Is this important for you ? If it is, I could find a parry to the problem
Rasmordem 2019 年 6 月 24 日 下午 1:21 
It is not that important for me, but other people might request this as well.
Xrayman  [开发者] 2019 年 6 月 25 日 上午 2:57 
Okey, patched ! Added a teleport command
最后由 Xrayman 编辑于; 2019 年 6 月 25 日 上午 2:58
Dani 2019 年 6 月 25 日 上午 8:51 
Fairy: A gift for you <3 !

[Fairy Companion] lua/entities/gmod_fairy/init.lua:772: Tried to use a NULL entity!
1. SetParent - [C]:-1
2. unknown - lua/entities/gmod_fairy/init.lua:772

It happens when the fairy is in weapons loot mode , the first 1 or 2 weapons she brings back after that this error and the "a have a gift for you" message keeps spawning until you reset the fairy with the Normal button.

---

Also i tried to send a message to myself with the fairy tell command, i got this

[ERROR] Tried to use a NULL entity!
1. unknown - [C]:-1

Timer Failed! [Simple][@lua/entities/gmod_fairy/init.lua (line 412)]

Not sure if it's a bug or the script telling me i'm insane :))
Dani 2019 年 6 月 25 日 上午 8:58 
Also in my opinion it would make more sense if the color green would be for healing and blue for looting. Why?
In 99.9% of games and in some cases even in real life Green is associated with Healing and so the players would be used with it.
Xrayman  [开发者] 2019 年 6 月 25 日 上午 9:26 
I'll try to patch it
I will really hire you as a beta-tester :steammocking:
agentkay 2019 年 7 月 1 日 下午 11:19 
I love this entity!

But I also have some bad news: I don't know if this qualifies as a bug, but I have tried setting up two headcrab zombies to try and get the fairy to put them out of their suffering. When she attacks them, the zombies don't show any signs of of taking damage. She thinks she has taken one down and moves on to the other one trying to do the same saying "One enemy down!" but it takes time for the zombies to die instead of right away.

I tried putting a poison zombie in front of me, she attacks it and the same thing happened. The first time I did that I deleted the poison zombie and she flew up into the sky and remained stationary. I also get a similar message in my console Dani and Terrarian Dragon are describing while this happens: "[Fairy Companion] lua/entities/gmod_fairy/init.lua:485: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/entities/gmod_fairy/init.lua:485"

Would you consider fixing this?
Xrayman  [开发者] 2019 年 7 月 2 日 上午 2:03 
Thank you for telling me this ! I'll try to fix it !
Xrayman  [开发者] 2019 年 7 月 2 日 上午 2:33 
Patched !

Just for an unknown reason, only the poison headcrab have a strange crawling animation before dying by the fairy... however when killed he will walk 1-2 meter then die, but won't attack you anyway.
Xrayman  [开发者] 2019 年 7 月 2 日 上午 2:37 
Tell me if your error
"[Fairy Companion] lua/entities/gmod_fairy/init.lua:485: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/entities/gmod_fairy/init.lua:485"
keeps hapening because it has been patched before and I don't understand why it keeps hapening...
When i spawn the Fairy Companion

[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:16
3. SpawnFairy - lua/entities/gmod_fairy/init.lua:318
4. SpawnFunction - lua/entities/gmod_fairy/init.lua:336
5. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:715
6. unknown - gamemodes/sandbox/gamemode/commands.lua:778
7. unknown - lua/includes/modules/concommand.lua:54
< >
正在显示第 1 - 15 条,共 67 条留言
每页显示数: 1530 50