Reincarnation

Post here to report bugs in Warcraft3 XP. Please read the sticky.

Moderator: Forum Moderator

Post Reply
whizzkid
Peon
Posts: 11
Joined: Wed Nov 02, 2005 11:46 am

Reincarnation

Post by whizzkid » Fri Nov 04, 2005 6:17 am

Sometimes reincarnation works over sv_restatround #, so when everybody got pistoles, orcs can have machineguns etc. Checked with bots. Newest amx, warcraft mod 2.6.3.

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Fri Nov 04, 2005 8:24 am

Nothing I can do. sv_restartround does just that.. It restarts the round, just like when the round ends. Restart the map if you want things to be truly reset.

amx_map currentmap
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

whizzkid
Peon
Posts: 11
Joined: Wed Nov 02, 2005 11:46 am

Post by whizzkid » Fri Nov 04, 2005 11:36 am

Can't you force W3 XP to check is sv_restart is >0 ??

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Nov 04, 2005 12:10 pm

There is an event triggered.... but then ferret would have to do more programming :(

and I'm not really for more programming
No Support via PM

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Fri Nov 04, 2005 12:55 pm

Reincarnation occurs on an event known as hud_reset.

hud_reset occurs everytime a player is spawned. The restart round spawns them.

I suppose, however, that I /could/ add a special wc3_restartround that would clear all skills and such first, then run sv_restartround for you.
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

whizzkid
Peon
Posts: 11
Joined: Wed Nov 02, 2005 11:46 am

Post by whizzkid » Sat Nov 05, 2005 2:14 pm

That would be great. But going further - can you makt such thing, that after user has written sv_restart 1 wc3 xp recognizes it as it's own command working exactely like you've described it? I mean when mod is working, this command doesn't mean the same, but is and alias to itself modified by wc3 mod... Do you understand me?

Good luck anyway =]

Post Reply