This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

I'm converting warcraft 3 frozen throne, only 5 errors left


Post New Thread Reply   
 
Thread Tools Display Modes
BAILOPAN
Join Date: Jan 2004
Old 03-15-2004 , 01:57  
Reply With Quote #41

Yes, most JGHG functions have been added to ENGINE for 0.15.
__________________
egg
BAILOPAN is offline
[RED-Designs]
Senior Member
Join Date: Mar 2004
Location: .us
Old 03-15-2004 , 01:58  
Reply With Quote #42

Quote:
Originally Posted by BAILOPAN
Yes, most JGHG functions have been added to ENGINE for 0.15.
Exactly what I though
__________________
.My personal Blog
."If the country were open on its borders, new
forms would certainly immigrate, and this also
would seriously disturb the relations of some
of the former inhabitants." - Charles Darwin
[RED-Designs] is offline
Send a message via AIM to [RED-Designs] Send a message via MSN to [RED-Designs] Send a message via Yahoo to [RED-Designs]
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-15-2004 , 02:15   Yeah
Reply With Quote #43

Quote:
Originally Posted by BAILOPAN
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..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
BAILOPAN
Join Date: Jan 2004
Old 03-15-2004 , 02:17  
Reply With Quote #44

The errors you are having seem to be related to the Events problem in 0.1 which has been fixed in CVS.
__________________
egg
BAILOPAN is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-15-2004 , 02:19   Could be
Reply With Quote #45

Quote:
Originally Posted by BAILOPAN
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
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-15-2004 , 02:24  
Reply With Quote #46

Quote:
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?

Quote:
/* 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, Floatrigin[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, Floatrigin[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).
Attached Files
File Type: sma Get Plugin or Get Source (warcraft3ft.sma - 818 views - 266.5 KB)
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-15-2004 , 04:03   Re: Umm
Reply With Quote #47

Quote:
Originally Posted by MagicShot
Quote:
Originally Posted by pimp daddy
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).
DopeFish is offline
Send a message via ICQ to DopeFish
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-15-2004 , 04:15   Re: Umm
Reply With Quote #48

Quote:
Originally Posted by DopeFish
Quote:
Originally Posted by MagicShot
Quote:
Originally Posted by pimp daddy
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...
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-15-2004 , 08:34  
Reply With Quote #49

Dopefish put up a link to all the different versions... it's here:

http://www.insanejustice.com/forum/s...&threadid=1714
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-15-2004 , 08:47  
Reply With Quote #50

OK wait, which module has the find_ent_by_class function, I can't find it in any of the includes JGHG... ?
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode