ID:151797
 
I've been coding a Megaman Battle Network game, which has 80% original Icons. Lately, something has come up that has had me thinking.

Note: If you've never played Megaman Battle Network, or have seen the Net warrior Anime

Basically, when you get into the game, you get a PET after completing a short tutorial that teaches the fundamentals of the game. The basic way to get into the Internet, is to go to a computer, or something that is connected to the net, and press the Jack-In verb of the object(there will be a HUD that appears). Now, here's the hard part that has had me thinking. How do I make the jack-in and jack-out safe proof.

For an example of my Jack-In verb, it would be.

mob verb Jack-In() if(usr.state=="Human") src.name = src.netnavi mob = /mob/player/Navi/ loc = locate(yadda yadda yadda) else src >> "It appears you cannot connect to the internet. Check out your PET." (Or something like that)

There are several things that puzzle me. In-order to make the game good, should I or should i not add these options.

1. Players may only save as Humans
2. Should I use mob/Navi instead of mob/player/Navi?
3. When the Net Navi get's out of the internet, is it possible Navi's could get deleted without the player noticing? (For example, if I can't find a way to delete the mob when it returns to the real world)

Can someone tell me what they think of my plan?
I don't really get what you're saying. But if you only want it to save outside of the net then couldn't you use a variable to say that you're human instead of an icon_state?

if(src.form=="human")


I personally would rather be able to save at any time. It's an online game, if you gotta go you gotta go.

And if you're jacking out, I'd say first have him flick a jacking out icon state to show everyone around him that he's leaving, and not instantaniously teleporting into nothingness.
In response to Fugsnarf
I have the Icon state for the teleporting.

Also, "state" in "usr.state" is a variable......I can always change the words whenever I want however.
In response to Jamora1124
Oh, ha ha. I looked at the word state and automatically assumed icon_ was before it.
In response to Fugsnarf
I guess the only way to solve all of my problems is to test it out myself with people playing the game a bit and then make them post complaints and whatnot.
Handle this with a datum and istype() (istype() to save some RAM).
In response to Jeff8500
Wow, thanks. I know this isn't the help section but, i was wondering if you knew any idea's of how to make a mob walk up to an obj(a computer in the game) and right click(making a drop list) and then select a verb that says "Jack-In". And with this jack in verb, transport the mob to a new location as a different mob. In my case, the user's mob would go from mob/player to mob/player/Navi.

Any idea's?
In response to Jamora1124
Declare the Jack_In() verb on the object that that action should be dependent on. Use the 'src setting' to decide when exactly this action is available. Then use the 'mob var (client)' to log the player into a different mob, possibly one you've just created with new(). And of course, naturally, look up any of those in the DM Reference if you're unsure how to use them.
In response to Kaioken
Thanks but, I wanted to ask you something else if you don't mind. Apparently, I thought that when you bring up "new", that it completely wipes the old mob. Plus, I wanted it so that you can go back and forth through Jack-In() and Jack-Out().

But, nvm.