HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Anyone think IP stuff is possible in Jass?

07-23-2006, 08:13 PM#1
James1654
Hello, I was just wondering: could it be possible to add features to a map so that you need a certain IP to access it. I:e: having a protected "secret" map that you need to have an ip as said in trigger to get past the dialogue box at start. (a condition for dialogue button click) .

Example of how it could be used: You decide to add a reward as a consentive for people to try to win your escape map. When one does, they send you a screenshot, and you put their IP in the trigger on the secret map and send it to them. If anyone else plays the map without having the IP, they are defeated at start.

-just an idea, i dont actually intend to use any IP triggers, myself, but it might be a helpful thing for others if it was discovered. It might be a possibility, seeing as up until a few weeks ago, no-one knew about the massively helpful anti-memory leak systems. But this may also be an imposibility, due to individual security settings disallowing wc3 to access their IP. There are downsides, too though, such as it being misused for childish IP bans from maps. As with everything, there is good and bad sides.




I think there is 75% chance its imposible. What do you think?
07-23-2006, 08:30 PM#2
Captain Griffen
Possibly, by adding natives, but then you'd also run into the problem of it causing a desync, so...

No.
07-23-2006, 08:32 PM#3
PipeDream
It can not be done from with in warcraft. It can be done using new natives. However it is nonsensical even for people who want to be honest.
-Most people are behind a NAT router and have an IP typically of the form 192.168.(0,1,123).* So most people will have the same IP
-Those people who are behind a NAT router (most everyone) can trivially change their IP
-Those people who aren't will probably have a dynamic IP that changes on the order of every 24 hours
-Many people go on multiple networks anyway, especially when wireless is involved

Remember that even if you think of some scheme that works around these issues, the only way to make dishonest people cooperate is to host a closed server Diablo 2 or melee style.
and you see how well even that works, what with map hack.

Recommended reading: http://www.dashes.com/anil/stuff/doc....html#dontwork
07-23-2006, 08:39 PM#4
King Klear
Why not just give those people some kind of password that is to be entered as a chat message?
07-23-2006, 08:59 PM#5
Thunder_Eye
why not just use their usernames? : )
can be accessed from anywhere and only by the player with the account.
07-23-2006, 09:18 PM#6
Vexorian
That'll be great, unless they just make a new account and they will if your map is good enough or if they really want to ruin it
07-23-2006, 09:24 PM#7
Thunder_Eye
If they make a new acc they cant play on the "secret map" so they would have to use their old acc
07-23-2006, 09:35 PM#8
Vexorian
So it is not a list to disallow access but a list to allow access that's going to work.

But it can always be downloaded by them and they can always change the list themselves it is not that difficult
07-24-2006, 12:46 AM#9
darkwulfv
Well to fix that issue maybe just protect, widgitize, etc. the map until not even the best JASSer's, triggers,a nd Blizzard staff could interpret it... Hey, jsut throwing it out there...
Besides, most of the noobs who would want to ruin it by changing it would give up trying after the map wouldnt open just once...
07-24-2006, 12:48 AM#10
Vexorian
you could use a hack like hamachi to simply make your friends connect to your ip directly instead of using bnet. Isn't there a way to make private games in bnet ?
07-24-2006, 12:51 AM#11
darkwulfv
Yes Vex, there is a way to make a private game in B.net...
07-24-2006, 10:39 AM#12
James1654
Quote:
Originally Posted by King Klear
Why not just give those people some kind of password that is to be entered as a chat message?

Because then, the password can be spread around. I dont need anything to do with IP, myself, but I was curious. Anyway, I think some load codes can work for only certain players, and that would probably be the best thing anyway.

Quote:
Originally Posted by Vexorian
you could use a hack like hamachi to simply make your friends connect to your ip directly instead of using bnet. Isn't there a way to make private games in bnet ?

hamachi . . . I have something like that installed, its called hamachi server and its for a "rising sun" mod of Age of empires 3. Dunno if its the same thing, but it rang a bell with me.



Though personally, I dont hate anybody in real life or on the internet, despite any differences I have had in the past, there probably are some people that deserve to be banned from some maps. For instance, a well known map theif could be named and shamed here on wc3campaigns.net, and then when approved by 3 mods, become an official theif that people might wanna IP ban (just an idea, dont have an orgism at me, please, Tim.).

But there is a bad side to this, as many people who deserve a second chance for their recklosness in the past, may be be completely dead-ended. For instance, moderators here could then be mean to certain . . . *members* . . . that only deserved a website ban and then they could be shamed, a massive wc3 apart-hate start, then someone could kill a rabit(in frustration) that would of caused a truck to crash and the truck was carrying the person that would start a nuclear war, then the whole world dies of nuclear radiation.

As you can see, IP bans will cause everyone to die a painful death, so maybe the secret elixar to life (the code for an ip function in jass) is best left undiscovered, for all internity . . .

p.s: nice conclusion, eh?
07-24-2006, 11:19 AM#13
The)TideHunter(
BTW, James, King Klear meant a password for a username (i think), like a save/load code which has the players name encrypted.