I know where they are. It just seems overly confusing with giving ids and assigning all these variables to new instances etc etc. If I could just get that down.PM Dinsdale...he needs to know where the IDs are....BTW can you add me on MSN? If you have?
I'm going to run an auto clicker test!
[blaxun] Online Engine/examples And Documentation
#61
Posted 10 January 2008 - 07:49 PM
#62
Posted 10 January 2008 - 09:24 PM
This time its the basic engine with COLLECTIBLES.
I added a manual to the archive, here is whats inside:
[What does this do?] I created this on request. Its a pretty simple thing. The Player shall only be allowed to take an item ONCE with his account. The items we will use are a Crown and...dunno....looks like some kind of stick with wings :P Read on to learn how I did it =) [What was added?] Sprites: spr_collectible (Client only) Case: MSG_COLLECTIBLE = 9 (Server and Client) Objects: obj_collectible (Client) Scripts: case_msg_collectible (Server and Client) [How does it work?] The obj_collectible is invisible by default. In its create event it will send the message MSG_COLLECTIBLE to the server. This message will contain the items collectible_id, this ID is set in the Creation Code of the object in the room. Now the server will open the account file of the player. Here it will then check if there is a entry for the collectibles ID. If there isnt, then we send teh client a message. The client will then check all collectibles in its room and compare its id to the collectible_id that was recieved. If the id matches we make the collectible visible. The Client can get it now. When touching the visible collectible the collectible will send a message to the server. The message will contain the collectibles ID again. Now the Server will write the entry into the Players account. And thats it =) Hope I could help a bit. BlaXun
Enjoy =)
#63
Posted 10 January 2008 - 09:24 PM
You need to add position/map saving!
Edited by GMREC1111, 10 January 2008 - 09:38 PM.
#64
Posted 10 January 2008 - 10:15 PM
1st: i opened up the server, and turned it on.
2nd: i turn the game into an exe.
3rd: i send the exe AND the dll to another computer of myn.
4th: i opened up the game on the computer i have the server running on.
5th: i opened up the game on the other computer of myn.
6th: i made an account on the one the server was running on, then logined into the game.
7th: on the other computer of myn, i clicked the create account button and i said that it couldnt connect to the server.
why is it not connecting?
#65
Posted 10 January 2008 - 10:18 PM
One thing! Do you have a router or firewall turned on? Another please spell mine right! Then again did you change the port that was default? Like 1337? I'm not sure but you would have to change it in the client too!ok why is it not working?
1st: i opened up the server, and turned it on.
2nd: i turn the game into an exe.
3rd: i send the exe AND the dll to another computer of myn.
4th: i opened up the game on the computer i have the server running on.
5th: i opened up the game on the other computer of myn.
6th: i made an account on the one the server was running on, then logined into the game.
7th: on the other computer of myn, i clicked the create account button and i said that it couldnt connect to the server.
why is it not connecting?
BTW asking for an engine with those is a great idea! It's just it would be advanced and lets not hurt anyones brains yet! There is nothing to learn from with shops, items, trading (somewhat) and money isn't explained for anybody to learn! It's the same as theres no 39dll lib! They never made it because it is meant to be used by advanced users and it would only be able to do basic functions. There should be one like this but nobody took the job of it! It is true that it can be the best...but it would also be the hardest! Heres something everyone says. Try using MPlay first...make a game and think about it...keep going through the scripts and stuff to know whats happening! There is money saving already but it is a bit limited! Hope it helps?
Edited by GMREC1111, 10 January 2008 - 10:31 PM.
#66
Posted 10 January 2008 - 10:24 PM
#67
Posted 10 January 2008 - 10:31 PM
#68
Posted 10 January 2008 - 10:39 PM
i dont know how that would be a problem though, if a block message ever comes up i click unblock, and ive done an mplay thing from this comp to that comp and it work just fine...
Btw, why isnt th slime online homepage down, i want to download slime online.
Edited by cswenson1, 10 January 2008 - 10:53 PM.
#69
Posted 10 January 2008 - 10:53 PM
#70
Posted 10 January 2008 - 11:07 PM
Lol, Maybe you forgot the default was the host yourself...he might have only connected to one but who knows! Did you connect only one? Was it the server? If yes go to ipchicken.com and find out! Not directed to BlaXun...just adding on! Also...if you don't know how to turn the firewall off...I suggest you don't try this! A firewall...hmmm...the Control Panel...hmm Windows Firewall...hmm....option OFF! Or you could add the game COMPILED and allow it! Might sound rude...You propably forgot to change the IP that the client connects to to the IP of your computer that runs the SERVER
I want to hear the background music!
Edited by GMREC1111, 10 January 2008 - 11:17 PM.
#71
Posted 10 January 2008 - 11:34 PM
#72
Posted 10 January 2008 - 11:43 PM
Client.gml -> Scripts -> Engine Functions -> scr_init_engine -> global._ip = 'insert ip here'
#73
Posted 10 January 2008 - 11:45 PM
Ok, I will suggest you stop trying! It's in a script...I want you to find this! This is a problem and you are the maker! Now go find the problem! You can't make an online game if you don't know that! Just look around...it starts with like 127.0.0.1? like that?which part of the server do i edit to change the ip address?? or do i have to edit the dll, if so how?
BTW BlaXun I think s/he has to learn before they try! This is a very bad question to ask...I mean he has to learn it! I had too and this is simple! SORRY if this is a little rude! My posts are like that...I thought you were like idle?
Edited by GMREC1111, 10 January 2008 - 11:47 PM.
#74
Posted 11 January 2008 - 12:04 AM
Now Im back but Playing Ragnarok Battle Offline
About the learning thing:
Yes, I agree he/she has to learn, but he/she propably couldnt even thest if all the learning would be worth it...so I try to help so he/she can test first =)
#75
Posted 11 January 2008 - 12:13 AM
Fine...lol because you were AO I didn't know you left...What happened to slimeonline.org? I wanna see what I can do with your engine...You should start making advanced because there is enough things to add! No wonder you were like idle!Sry, I closed MSN cause I left for a bit.
Now Im back but Playing Ragnarok Battle Offline
About the learning thing:
Yes, I agree he/she has to learn, but he/she propably couldnt even thest if all the learning would be worth it...so I try to help so he/she can test first =)
I just opened the new one! You added the delay in the clicks...collectibles! Now all you have to do is make it like an RPG! Make the character able to choose to wear the crown and other thing like a wand type thing? That could be an Advanced?
Edit: BTW I looked at that game...It looks awesome!
Edited by GMREC1111, 11 January 2008 - 12:31 AM.
#76
Posted 11 January 2008 - 12:33 AM
error defining external function
#77
Posted 11 January 2008 - 12:35 AM
#78
Posted 11 January 2008 - 12:37 AM
#79
Posted 11 January 2008 - 12:38 AM
#80
Posted 11 January 2008 - 12:39 AM
if xcy ! = (blank)
{
show_message('omg')
show_message('whats going on??')
}
draw_text(x,y,'i leik to eat cheese ^^')
if yo mama happens
{
do_somet1ng('holy crap wtf?') }EDIT: blaxyown ur gmc inbox is full
Edited by jchalase, 11 January 2008 - 12:42 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users









