| Mirage Source http://www.miragesource.net/forums/ |
|
| Dave's Binary tutorial http://www.miragesource.net/forums/viewtopic.php?f=210&t=832 |
Page 1 of 2 |
| Author: | Matt [ Tue Dec 12, 2006 6:04 pm ] |
| Post subject: | Dave's Binary tutorial |
Was just wondering, where is it? I can't find it here or on the backup forums. If anyone has a copy of it, could you please post it? |
|
| Author: | William [ Tue Dec 12, 2006 6:38 pm ] |
| Post subject: | |
All optimizations are found here: http://ms.shannaracorp.com/forums/viewtopic.php?t=549 |
|
| Author: | Robin [ Tue Dec 12, 2006 6:50 pm ] |
| Post subject: | |
Go look at Load/Save map. It's just the same as that. |
|
| Author: | Matt [ Tue Dec 12, 2006 6:52 pm ] |
| Post subject: | |
Yeah, I know it's the same as that. But if I just copy that stuff, how am I going to actually learn it? Thanks Will. I didn't think to look in that section. ^_^ |
|
| Author: | Obsidian [ Tue Dec 12, 2006 7:15 pm ] |
| Post subject: | |
The load/save map is also if you want them all stored in individual files... rather than a single file. Not that it matters, i was just pointing it out. I actually prefer single files. |
|
| Author: | Lea [ Tue Dec 12, 2006 9:01 pm ] |
| Post subject: | |
I should update that tutorial |
|
| Author: | Robin [ Tue Dec 12, 2006 9:08 pm ] |
| Post subject: | |
Can I ask if it makes a difference storing each different variable, one after another Code: put, Player().name put, player().w/e put, player().data3 in the saving sub, or by simply typing Code: put, Player()
|
|
| Author: | Lea [ Tue Dec 12, 2006 9:12 pm ] |
| Post subject: | |
The latter is faster, and IMHO better. HOWEVER! The AccountRec UDT has some stuff that doesnt need to be saved in it. I would first Put, , LoginName Put, , Password, then loop and put char(i) 3 times. |
|
| Author: | Rian [ Tue Dec 12, 2006 9:48 pm ] |
| Post subject: | |
Dave, I added the binary accounts the other day. (Well, I've tried to add it multiple times the over the past few days, finally got it to work right yesterday) Anyways, I started working on the account editor, and realized that I have no idea how to get anything passed the first characters name to show up in my editor, and was wondering if you could give an example of how to do that |
|
| Author: | Lea [ Tue Dec 12, 2006 9:59 pm ] |
| Post subject: | |
http://www.eternalflameonline.com/valkorian_editor.rar Enjoy. Read the comment at the top of each module I know it's poorly coded, deal with it |
|
| Author: | William [ Tue Dec 12, 2006 10:03 pm ] |
| Post subject: | |
Is it okay if I use parts of that for my offline development system? Looks good. |
|
| Author: | Lea [ Tue Dec 12, 2006 10:04 pm ] |
| Post subject: | |
Erm... no. |
|
| Author: | William [ Tue Dec 12, 2006 10:12 pm ] |
| Post subject: | |
okay. just liked the way the info was loaded to the sheet. |
|
| Author: | James [ Sat Dec 16, 2006 10:31 pm ] |
| Post subject: | |
Dave, Question: My Name Length is long, 30, so I changed the 20 to 30 in PasswordOK, but I always get "password incorrect." Any idea why? |
|
| Author: | Lea [ Sat Dec 16, 2006 10:56 pm ] |
| Post subject: | |
Debug.print what the game thinks the password is. You'll be able to find if your byte-offset is wrong from using that. If it's off by one letter, add or subtract one from the byte offset until it's correct. That may be the problem, otherwise... is your "RightPassword" variable defined as constant length? RightPassword as String * NAME_LENGTH? Is NAME_LENGTH = 30? |
|
| Author: | James [ Sun Dec 17, 2006 3:20 am ] |
| Post subject: | |
Whoop! Advo helped me fix it. Thanks anyhow Davey. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|