• 9 Vote(s) - 4.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release MW3 Server Addon Extensions
#71
(01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.

Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
  Reply
#72
(01-08-2013, 07:13)master131 Wrote:
(01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.

Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.

JayDi said that he did permanent effect. Ask him.
  Reply
#73
(01-08-2013, 07:13)master131 Wrote:
(01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.

Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.

It seems you found something wrong.
As i remember, same happened in mw2 with 'SpawnFx' and 'TriggerFx'.
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#74
Eh, I don't know. Pretty sure the function I found was PlayFX, it's just like the one in COD4. Could be something to do with the GSC functions that I omitted, but I'm pretty sure they were not needed because they returned the FX entity.

Anyway, just an update. I got a basic OnNotify working (aka, waittill). I can trace all the types/messages like spawned_player, death and other stuff but so far no parameters yet or who the message belongs to. It involved function hooking (yes, in C#, but hey, it works).
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
[-] The following 1 user says Thank You to master131 for this post:
  • JariZ
  Reply
#75
(01-08-2013, 10:01)master131 Wrote: Eh, I don't know. Pretty sure the function I found was PlayFX, it's just like the one in COD4. Could be something to do with the GSC functions that I omitted, but I'm pretty sure they were not needed because they returned the FX entity.

Anyway, just an update. I got a basic OnNotify working (aka, waittill). I can trace all the types/messages like spawned_player, death and other stuff but so far no parameters yet or who the message belongs to. It involved function hooking (yes, in C#, but hey, it works).

Really?

I Heart you. ( no gay )
Just what i needed.
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#76
Alright, figured out how to verify which entity/client the notify event was meant for. Now to get the parameters associated with the notify event. Once I get that figured out, I can put SetCanDamage back.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
[-] The following 2 users say Thank You to master131 for this post:
  • JariZ, Nekochan
  Reply
#77
I cannot compile, you can lay out a ready made addon?
  Reply
#78
(01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?

What errors/warnings are you getting?

This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
  Reply
#79
(01-08-2013, 12:28)master131 Wrote:
(01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?

What errors/warnings are you getting?

This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7

No mistakes. just when I compile I added a link to this addon, but for some reason he does not work. I write: using addon2; but he does not appear. So I think it may have a bug in the compiler. Can you describe in detail how to compile this addon.
  Reply
#80
(01-08-2013, 12:50)SaviouR9966 Wrote:
(01-08-2013, 12:28)master131 Wrote:
(01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?

What errors/warnings are you getting?

This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7

No mistakes. just when I compile I added a link to this addon, but for some reason he does not work. I write: using addon2; but he does not appear. So I think it may have a bug in the compiler. Can you describe in detail how to compile this addon.

Bug in compiler.. heheh
Are you sure that you switched net framework to 3.0?
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Add a point shop to my server h1dexyz 1 441 03-04-2018, 22:36
Last Post: h1dexyz
Lightbulb Preview Weapon Classe For Infected Clasic Server groochu1982 0 598 02-19-2017, 08:35
Last Post: groochu1982
Exclamation Help HOW CAN I TURN OFF THE "CROSSHAIR" IN MY SERVER? Eliichong0 0 704 06-16-2016, 16:01
Last Post: Eliichong0
Bug Upload files to FTP server S3VDIT0 4 1,462 01-28-2016, 17:17
Last Post: S3VDIT0

Forum Jump:


Users browsing this thread: 1 Guest(s)