Monday, 2024-05-20, 2:43 AM


Main
Registration
Login
Welcome Guest | RSS  
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 2 of 2
  • «
  • 1
  • 2
Forum moderator: JonNny, Hanky  
Clan NgO Forums » Discussions » Flood Dimension » General questions (OMG! QUESTIONS!!!)
General questions
JonNnyDate: Thursday, 2009-09-10, 8:37 PM | Message # 16
Lieutenant
Group: Moderators
Messages: 50
Reputation: 6
Status: Offline
Quote (WaRadius)
bj values/functions + GetLocalPlayer() = split

didnt know about that

as far as i knew its possible to use GetLocalPlayer() with functions which do not affect the game itself like a message or any other display (weather, multiboards, ..)

other functions like killing a unit leads into server splits (i guess its sure why)


 
InferiorDate: Friday, 2009-09-11, 8:30 PM | Message # 17
Private
Group: Checked
Reputation: 1
Status: Offline
got another question. Am i right if i say that hashtables can only save data in the current game and gamecaches can save data between different games?

well if that is true my saving system is complete but i can only save integers/reals/booleans/units/strings since it is a gamecache. But if i am wrong and hashtables can save over games too that would be really cool.


I'm just one of those wannabe nerds who want to create a map
 
FireeyeDate: Friday, 2009-09-11, 9:19 PM | Message # 18
Private
Group: Moderators
Messages: 16
Reputation: 5
Status: Offline
That's correct, however the gamecache can transfer datas only between CAMPAIGNS (maps in the same campaign folder).

 
InferiorDate: Friday, 2009-09-11, 9:29 PM | Message # 19
Private
Group: Checked
Reputation: 1
Status: Offline
that means that this wont work for BNet and local network?

I'm just one of those wannabe nerds who want to create a map
 
FireeyeDate: Friday, 2009-09-11, 9:34 PM | Message # 20
Private
Group: Moderators
Messages: 16
Reputation: 5
Status: Offline
Correct, it won't work for BNet or network. Blame Blizzard for that.

 
InferiorDate: Friday, 2009-09-11, 10:09 PM | Message # 21
Private
Group: Checked
Reputation: 1
Status: Offline
but can you tell me how it works in Shoppingmaul?? There they generate a code which can be entered in next game to load a value

I'm just one of those wannabe nerds who want to create a map
 
FireeyeDate: Friday, 2009-09-11, 10:20 PM | Message # 22
Private
Group: Moderators
Messages: 16
Reputation: 5
Status: Offline
Quote (Inferior)
but can you tell me how it works in Shoppingmaul?? There they generate a code which can be entered in next game to load a value

That's how they do it, they encode any value into a string and shows them to a player.
In a new game, the player have to type e.g. '-load xxxx', the map will get any saved values by decodind the string.
So they don't use the gamecache, which would not require any code, cause the values could be initialized automatically ... if it would work in multiplayer.

Let's say, we got Hero A on level 9, so we give the savesystem the values Unit type of Unit A and Level of unit A, the system will create a string (most likely using player name too) using the given arguments.
You start a new game and load your previous stored hero, the system will use the encoded string provided by you and extract the Unit Type and Unit Level out of that string.
However the final unit is not Unit A, it's Unit B.
The unit gets completely new created, not saved.




Message edited by Fireeye - Saturday, 2009-09-12, 3:27 PM
 
JonNnyDate: Saturday, 2009-09-12, 1:15 PM | Message # 23
Lieutenant
Group: Moderators
Messages: 50
Reputation: 6
Status: Offline
exactly
all values are inside of the load code

if you need something to create codes just take a look at Hankys CodeGen
he recetly made it and its exactly what we are talking about


 
InferiorDate: Thursday, 2009-10-08, 10:35 PM | Message # 24
Private
Group: Checked
Reputation: 1
Status: Offline
yy thats what i did. His functions to convert integers to hexcodes and backwards helped me alot.

Added (2009-10-08, 10:35 Pm)
---------------------------------------------
hey all,

got another stupid question. if i use GroupEnumUnits, do i pick the units with 'Aloc' ability too???


I'm just one of those wannabe nerds who want to create a map
 
FireeyeDate: Saturday, 2009-10-10, 1:57 AM | Message # 25
Private
Group: Moderators
Messages: 16
Reputation: 5
Status: Offline
GroupEnumUnits will ignore units with 'Aloc'.
When you want to pick those, if i remember correct you need to use 'GroupEnumUnitsOfPlayer' to pick units with the Ability 'Aloc' (Locust).
Blame Blizzard for that supidity biggrin




Message edited by Fireeye - Saturday, 2009-10-10, 1:57 AM
 
InferiorDate: Monday, 2009-11-23, 8:12 PM | Message # 26
Private
Group: Checked
Reputation: 1
Status: Offline
hey guys its me again

i got sum codestuff for you to check over it for me.

here is the link:
http://www.file-upload.net/download-2031470/SpellPack.w3x.html

its a system to create a hook ( something like meat hook from DotA, but in a kinda better way :P)

i would be glad to get a response

~Inferior


I'm just one of those wannabe nerds who want to create a map
 
HankyDate: Sunday, 2009-12-06, 4:18 AM | Message # 27
Lieutenant colonel
Group: Moderators
Messages: 116
Reputation: 9
Status: Offline
The forum is dead how you maybe already noticed.


Made by Smoe reworked by GiR aka Darkt3mpl3r
 
TheCheeseLoverDate: Saturday, 2009-12-19, 3:06 AM | Message # 28
Sergeant
Group: Users
Messages: 22
Reputation: 0
Status: Offline
OH yes I do. The forum is dead because warcraft is getting less popular. There are almost only bots.

Yay I have a signature. You suck. :D
 
FireeyeDate: Saturday, 2009-12-19, 1:41 PM | Message # 29
Private
Group: Moderators
Messages: 16
Reputation: 5
Status: Offline
I'm looking in the forum too. But no interesting topic at all.

 
TheCheeseLoverDate: Friday, 2010-01-01, 4:53 AM | Message # 30
Sergeant
Group: Users
Messages: 22
Reputation: 0
Status: Offline
You could make a tutorial on the text macro

Yay I have a signature. You suck. :D
 
Clan NgO Forums » Discussions » Flood Dimension » General questions (OMG! QUESTIONS!!!)
  • Page 2 of 2
  • «
  • 1
  • 2
Search:

Clan NgO © 2024Powered by uCoz