PDA

View Full Version : I'm converting warcraft 3 frozen throne, only 5 errors left


Geesu
03-12-2004, 16:29
Are there any equivalent functions for these:

get_user_velocity

find_ent_sphere

get_entity_origin

These are the only 3 functions i need and i'll have my mod completely converted...

Geesu
03-13-2004, 13:33
*BUMP* Please help with this.

Thanks....
Josh

[RED-Designs]
03-13-2004, 13:34
Are there any equivalent functions for these:

get_user_velocity

find_ent_sphere

get_entity_origin

These are the only 3 functions i need and i'll have my mod completely converted...

Check the new .inc files, make sure they havent been renamed or moved. Also read the changelog.

MagicShot
03-13-2004, 13:37
Wouldnt the warcraft module itself have to be updated for amxx?

Just a thought

[RED-Designs]
03-13-2004, 13:40
Wouldnt the warcraft module itself have to be updated for amxx?

Just a thought

The module API is being reworked for AMXmodX so probibly some tweaking or a complete rewrite will be in order. Though those functions dont strike me as war3 module functions.

MagicShot
03-13-2004, 13:42
Indeed that dont sound like its functions either but I am just say it might not work with a slight update.. again I may be wrong..

[RED-Designs]
03-13-2004, 13:53
Indeed that dont sound like its functions either but I am just say it might not work with a slight update.. again I may be wrong..

Anyone may be wrong, but there is always some truth from what is wrong :D

MagicShot
03-13-2004, 14:06
]Indeed that dont sound like its functions either but I am just say it might not work with a slight update.. again I may be wrong..

Anyone may be wrong, but there is always some truth from what is wrong :D

I really like that truth to that quote..

AmxX Great minds come togather.. hehe

[RED-Designs]
03-13-2004, 14:07
]Indeed that dont sound like its functions either but I am just say it might not work with a slight update.. again I may be wrong..

Anyone may be wrong, but there is always some truth from what is wrong :D

I really like that truth to that quote..

AmxX Great minds come togather.. hehe

If you like that quote, why dont you quote me in your signature?

Johnny got his gun
03-13-2004, 15:21
Are there any equivalent functions for these:

get_user_velocity

find_ent_sphere

get_entity_origin

These are the only 3 functions i need and i'll have my mod completely converted...

velocity + origin will be in next release.. .actually you could implement those stocks yourself... anyways, next release...

I know no other module but my jghg(2) module that has find_ent_sphere, so you probably still need that one. It's compatible with AMXX (there is no difference in module interface yet)

MagicShot
03-13-2004, 16:13
Are there any equivalent functions for these:

get_user_velocity

find_ent_sphere

get_entity_origin

These are the only 3 functions i need and i'll have my mod completely converted...

velocity + origin will be in next release.. .actually you could implement those stocks yourself... anyways, next release...

I know no other module but my jghg(2) module that has find_ent_sphere, so you probably still need that one. It's compatible with AMXX (there is no difference in module interface yet)

Sorry I didnt know the module interface hasn't changed.. thats good new untill it does lol

Geesu
03-13-2004, 16:39
OK good, I'll use your module then. And I don't think I would know how to create a get_user_velocity function, although its not that important.

Also, warcarft 3 frozen throne doesn't use the war3 module. It just uses the vexd block message function (much better I think).

DopeFish
03-13-2004, 16:50
I don't think any of the wc3 plugins still use the wc3 module ;) vexd has a similar message blocker and the amx vault was better to implement than the binary saving method in the wc3 module. it has become obsolete and I wouldn't carry it over to amxx, let it die with amx.

well, the 2.22.x version of wc3 still supports the wc3 module if users prefer wc3 over vexd, but the default is vexd even though it dosen't do as good a job at blocking messages.

Geesu
03-13-2004, 16:55
Yes, please let it die :)

pr0*killa
03-13-2004, 17:03
I have "only" AMX 0.9.8 With WC3: Frozen Thone
and with Metamod 1.17!

Geesu
03-13-2004, 17:05
I have "only" AMX 0.9.8 With WC3: Frozen Thone
and with Metamod 1.17!

What is ur server's ip? and what version are u running? I just released 1.5.7. I'm hoping by 1.6 I'll have an update for amxmodx :)

Geesu
03-13-2004, 17:41
OK guys I have it up and running with amxmodx :) Not sure if all features work though, its running on a 2 person test server: dod.4hm.net:27015 if you want to check it out. I'll test it in a little bit, but I'm going to wash my gfs car right now..

later,
josh

MagicShot
03-13-2004, 17:43
OK guys I have it up and running with amxmodx :) Not sure if all features work though, its running on a 2 person test server: dod.4hm.net:27015 if you want to check it out. I'll test it in a little bit, but I'm going to wash my gfs car right now..

later,
josh

Is it dod or CS?

Geesu
03-13-2004, 17:47
It's cs, but i run a dod server on that server on port 27016.. lol

Fine use this address.. less confusing:

ootoaoo.no-ip.com:27015

Geesu
03-13-2004, 17:49
A lot of weird stuff going on....

MagicShot
03-13-2004, 17:58
A lot of weird stuff going on....

What kinda weird stuff?

Geesu
03-13-2004, 19:05
It's awarding XP for no reason, you choose a race, then it goes back to no race. Just a bunch of weird ass shit. Some functions aren't working.

DopeFish
03-13-2004, 20:51
same here with wc3 2.22.x crazy shi** ;) got stuck way hell off map once during weapon reincarnation.

Johnny got his gun
03-13-2004, 21:00
With some fixes I managed to compile that WC3 version Dopefish (using old compiler), but there was some odd stuff that made it impossible to pick up the weapons in fy_iceworld... didn't try much more.

Geesu
03-13-2004, 21:21
Are all the logevents the same and such? Like when events are called? Are those all the same?

MagicShot
03-13-2004, 22:34
Are all the logevents the same and such? Like when events are called? Are those all the same?

Actually I think they are but I thought there was a few changes to a few native calls.. jghg i think would know better than me..

Btw, I checked out the server.. I did notice a few things were funny but noone else was there to test with me..

BigBaller
03-13-2004, 23:07
well, someone better fix my favorite plugin! hehe

DoubleTap
03-14-2004, 00:28
LOL, same here... I can do without MANY of the old AMX mods/plugins... but until Dopefish says ModX works with his WC3... I will ride the config I have now :)

Vic/DT

MagicShot
03-14-2004, 02:06
well, someone better fix my favorite plugin! hehe

I'm in the same boat... hehe

QwertyAccess
03-14-2004, 06:03
well, someone better fix my favorite plugin! hehe

I'm in the same boat... hehe me too.

[RED-Designs]
03-14-2004, 06:28
well, someone better fix my favorite plugin! hehe

I'm in the same boat... hehe me too.

Me four thousand two million eighty-five billion nine hundred trillian.


Can we please move along and discuss the original purpose of this thread.

BigBaller
03-14-2004, 15:22
Red

that was about the plugin

It must be fixed! ITs a great plugin, sometimes plain old counter-strike gets borning.

tnsk8er27
03-14-2004, 15:38
yup that IS true......VERY TRUE

MagicShot
03-14-2004, 16:07
Can someone Post the Source or a link to the source we are talking about.. I want to talk a look see and see if I see anything..

Great Mod.. Great Minds We can fix :twisted:

Geesu
03-14-2004, 22:07
Are you guys talking about the war3 mod i wrote or a different plugin?

MagicShot
03-14-2004, 22:37
Are you guys talking about the war3 mod i wrote or a different plugin?

Who wrote the expansion?
I am look for it to be posted a link to it would help... :?

Geesu
03-14-2004, 22:46
I wrote the frozen throne mod.. here's the sma written for amxmodx. It needs the JGHG module.

MagicShot
03-14-2004, 22:57
Thank You..

Can U also post what kinda weird things are going on with it?

Thanx..

Geesu
03-14-2004, 23:03
Changerace menu pops up at thebeginning of each round. When you plant the bomb it calls the end round function (the function that awards xp for saying "t's win" or "ct's win"). Thats all I've noticed so far, and mole doesn't work (uses JGHG module)

[RED-Designs]
03-15-2004, 01:54
(uses JGHG module)

I beleave JGHG was included in fun and engine.

BAILOPAN
03-15-2004, 01:57
Yes, most JGHG functions have been added to ENGINE for 0.15.

[RED-Designs]
03-15-2004, 01:58
Yes, most JGHG functions have been added to ENGINE for 0.15.

Exactly what I though :D

MagicShot
03-15-2004, 02:15
Yes, most JGHG functions have been added to ENGINE for 0.15.

Thats Why I wanted the source when I heard the jghg module was involved..

Thats may be the problem will look at source this week even though I am gonna be busy most of the week..

Thanx For the Input Bail.. Your the best.. :wink:

BAILOPAN
03-15-2004, 02:17
The errors you are having seem to be related to the Events problem in 0.1 which has been fixed in CVS.

MagicShot
03-15-2004, 02:19
The errors you are having seem to be related to the Events problem in 0.1 which has been fixed in CVS.

That could very we'll be... I will await the release b4 I drive myself crazy searching the code.. lol

Johnny got his gun
03-15-2004, 02:24
playersInVicinity = find_ent_sphere(0,origin,vicinity,"player",6,entList,0)

that interface was changed from jghg > jghg2 module
and btw if you allow *0* entities to be stored in entList I guess you will only ever get *0* returned from that native cause it's supposed to return number of ents stored in entList. I think you should've allow at least one in this case... I've probably missed this earlier also. Jeez, who makes these hard-to-use natives anyway? 8)

/* Returns first found ent from start_from_ent in a sphere with radius around origin.
* Note: this native has changed behaviour since previous versions.
*/
native find_ent_sphere(start_from_ent, Float:origin[3], Float:radius);

/* As above, but returns number of ents stored in entlist. Use to find a specific type of entity classname (specify in _lookforclassname) around a
* certain entity specified in aroundent. All matching ents are stored in entlist. Specify max amount of entities to find in maxents.
* If aroundent is 0 its origin is not used, but origin in 6th parameter. Ie, do not specify 6th parameter (origin) if you specified an entity
* in aroundent.
*/
native find_sphere_class(aroundent, _lookforclassname[], Float:radius, entlist[], maxents, Float:origin[3] = {0.0, 0.0, 0.0});

Neither of them are in engine yet.
*however* looking at your code I don't think using find_ent_sphere (or find_sphere_class which really just uses find_ent_sphere internally) is a good idea (I guess you coopied my (bad) idea from I spy?). A better way to find out if some playesr already exist at an origin is to get_players(), then check their distance from the origin using get_distance(). I think find_ent_sphere does this but on all ents in game (can be hundreds).

DopeFish
03-15-2004, 04:03
Are you guys talking about the war3 mod i wrote or a different plugin?
Who wrote the expansion?

wc3x is from "Ryan"
wc3FT is from "pimp daddy"
wc3 2.22.x is from "DopeFish"

I haven't seen the developer of wc3x here yet, and since I haven't visited his forum in a while I don't know if he has released his code yet (last time I checked it was still binary only).

MagicShot
03-15-2004, 04:15
Are you guys talking about the war3 mod i wrote or a different plugin?
Who wrote the expansion?

wc3x is from "Ryan"
wc3FT is from "pimp daddy"
wc3 2.22.x is from "DopeFish"

I haven't seen the developer of wc3x here yet, and since I haven't visited his forum in a while I don't know if he has released his code yet (last time I checked it was still binary only).

Thanx FOr the Clairifcation it really Helps to know who wrote witch version... :lol:

Geesu
03-15-2004, 08:34
Dopefish put up a link to all the different versions... it's here:

http://www.insanejustice.com/forum/showthread.php?s=366b662897ce30d68a356b8fb2ca f689&threadid=1714

Geesu
03-15-2004, 08:47
OK wait, which module has the find_ent_by_class function, I can't find it in any of the includes JGHG... ?

Johnny got his gun
03-15-2004, 10:30
Engine module

Geesu
03-15-2004, 10:31
I looked in the include, didn't see it:

/* Finds an entity in the world, will return -1 if nothing is found */
native find_entity(iIndex, szClass[]);
native find_ent_by_owner(iIndex, szClass[], iOwner);
native find_ent_by_target(iIndex, szClass[]);
native find_ent_by_tname(iIndex, szClass[]);
native find_ent_by_model(iIndex, szClass[], szModel[]);

pr0*killa
03-15-2004, 11:17
where can i find 1.5.7 Frozen Throne (WC3) ??? Give me a link :)

Geesu
03-15-2004, 11:20
http://4honor.net/forum/viewtopic.php?t=5001

MagicShot
03-15-2004, 12:57
Dopefish put up a link to all the different versions... it's here:

http://www.insanejustice.com/forum/showthread.php?s=366b662897ce30d68a356b8fb2ca f689&threadid=1714

Thanx Pimp_Daddy & Dope fish....

Checking all of them out :twisted:

pr0*killa
03-15-2004, 15:19
where is the version you said 1.5.7 What directory? :?
Anyway thanks for the link

Geesu
03-15-2004, 15:31
Top link, it says update - v1.5.7

pr0*killa
03-15-2004, 15:34
yes but where i can download it? :?:

Geesu
03-15-2004, 15:45
Click on update - v1.5.7

then u will see a link.. lol

pr0*killa
03-15-2004, 15:51
you mean the link: http://homepages.uc.edu/~beckerbi/war3

pr0*killa
03-15-2004, 15:53
ok i found it sorry for a flood! im a lol :(

Geesu
03-15-2004, 15:54
yep