Forum Replies Created
-
AuthorPosts
-
MeteorStrike
ParticipantWow, I posted a requested change suggestion and suddenly the Lord disappears, just like the Christian Lord. :p ( Hah hah get it? Unanswered prayers… ) It's funny though because I mentioned I would be disappearing again soon but it looks like he beat me to it!
January 6, 2012 at 9:43 am in reply to: Destiny of an Editor (permanent beta test mode active) #27205MeteorStrike
ParticipantI forgot to mention, you might actually want to have 2 options instead of just one:
"Move Selected Warp Source Here"
"Move Selected Warp Dest Here"
or maybe something that's less wordy, but still makes this distinction. Since a Warp point is really only a connector between 2 points on the map, the user should be able to change either of those end points.
MeteorStrike
ParticipantHmm I downloaded the source for bb and I wonder if you can make a change like this one to change this behavior:File:
bbpressxmlrpc.php
function prepare_post( $post )
{
…
$_post['post_time_since'] = bb_since( $_post['post_time'] );
…
}
and change that line to something like:
$_post['post_time_since'] = _bb_time_function_return( $_post['post_time'], 'timestamp' );
But I don't know if this would be the best solution ( assuming it works… )
EDIT: That was for bbpress-1.1. It looks like the latest version is considerably different in its layout. Also, this is probably not the -ideal- change, but I suppose it would work as a test too… but I'll leave the tinkering to the experts. :)
EDIT EDIT:
Gah, I found the place where it's first called. ( I think ) In the file:
bbpressbb-templateskakumeipost.php
It has:
php printf( __('Posted %s ago'), bb_get_post_time() );
and the function looks like it's defined at:
bbpressbb-includesfunctions.bb-template.php
Looking at other code, I wonder if it can be changed to:
php printf( __('Posted %s ago'), bb_get_post_time( 'id' => 0, 'format' => 'timestamp', 'more' => 0, 'localize' => true ) );
Since function _bb_parse_time_function_args has:
$defaults = array( 'id' => 0, 'format' => 'since', 'more' => 0, 'localize' => true );
But I'm not sure… This syntax is beyond my scope of understanding of php…
MeteorStrike
Participantlol I like how you quoted the part where I say I sound like an ass, and then you agree with me. :p ( I know what you meant [ I think ] but it still sounds funny. But on a serious note, more often than not, I will re-read something I write and realize it sounds a lot more harsh than I intended it to be… :? Yea, if I was a diplomat, my country would probably be at war with the world. lol )
Anyways, I'm guessing it shouldn't be too difficult of a change, but I wouldn't know… it would certainly be a nice change though, if it's possible to do… :)
MeteorStrike
ParticipantActually, scratch that. The last-modified timestamp of the Generals.java code file for my tool when I did a backup on October 30, 2011 was August 15, 2010. So I was remembering the year wrong for the last mod time. However, I originally first stopped working on the tool on February of 2010, and I had started on around November of 2009. IIRC, I had all the dropped items lists sometime in November as it was one of the first things I wanted to hack. So if I remember those dates correctly, you still beat me to it, I guess. :p
In any case, I still think the timestamp on each message is a good idea… It can certainly come in handy. :)
January 4, 2012 at 1:11 am in reply to: Destiny of an Editor (permanent beta test mode active) #27201MeteorStrike
ParticipantJust do something like what I did where you show that a tile has a Warp by highlighting it or marking it with an X or something. Then, if the user right-clicks on that tile, a menu pops up with the option "Select Warp". Then the user can right-click over a new tile, right click, and select "Move Selected Warp Here". That would be a very simple option to program and very intuitive for the user.
Another option would be to allow drag-drop of warps, but this requires you can show the whole map at once, and besides, drag-drop would be annoying if the user wanted to drag it to a tile outside of the shown map area. But the first option above should be easy enough to code.
MeteorStrike
ParticipantOK I fixed up the Generals file for some formatting issues that it was having.
Also, I uploaded a few new files that show all the Generals' images on their own, including 2 PNG images that only contain the images, since the host is so picky about letting visitors download all the individual PNG images from the Generals page. ( Although I did add a new HTML page that just contains the Generals' names and images only, but it's obviously going to have the same problem as the Generals page with loading all the individual Generals PNG images… oh well… )
EDIT: Well, tomorrow is back to work as usual… I guess it was fun while it lasted ( that's what she said! ) but the vacation time is over… and I was just beginning to feel like it was the beginning of my vacation. lol.
Anyways, I'll probably drop by a few more times in the next couple of weeks, etc. but soon enough I'll probably disappear for a few weeks / months again. I guess I don't have much else to post at this time until I get the map generator ported for DOAE 1 anyways. So just in case I don't drop by again for a month or something… till next time! :)
MeteorStrike
ParticipantWoa, what happened to Jiang's posted message? It disappeared just as I finished typing my message. lol
EDIT: Ah, it looks like it got deleted. I wonder if he deleted it on his own then? Funny, we ended up quoting him anyway, so his deleted text is still on the quotes. :p
MeteorStrike
ParticipantHi Jiang!
Quote:O: can you make a destiny of an editor 2 plz or an editer for dwiv (love this game)I spent like 20 minutes typing a message over 9000 characters long ( it's over 9000! ) ranting about hacks, but then I decided not to post it because it might be a little offensive to some of you. So here's the short version of my rant without actual "rant" material:
I am not interested in ROM hacks or ROM editors. I am only interested in ROM Map and Data Generators / Extractors.
EDIT: I just realized it's little things like this that make people think I get easily upset over requests and stuff… for the record, I'm not upset at all. :) I simply have no interest in making editors. :)
Now, if Niahak wants to edit his editor ( recursive editing FTW ) to work with DOAE 2 also, I can provide the details of the stuff I hacked for him so he can add it. I might do that slowly over time though, cause there is a -lot- of info there ( believe it or not ) and I don't want to spend a week typing messages here. If Niahak wants to get started on an interface for Destiny of an Editor to support DOAE 2 Generals editing as a first step, he can let me know when he gets that done and I can then feed him the Generals details, and take it from there. :)
Quote:or away to extract the sprites from doae2 for use in doae cause that would be coolThe Generals list I uploaded has images for all the Generals in the game. Unfortunately, due to my host, you will probably not be able to see them all. I will edit the tool I have to generate a large image with all the Generals in it and upload it later.
Quote:and is there way to add more officer slots so i can add more officers into the game?As far as adding more Generals, it may be possible. If you look at the Generals list I uploaded, the General with ID E7 looks bugged. I don't know why, but that slot might be editable to something else. I don't know if the game intends on using it as a non-fighting General though… the Generals list looks -really- tight in DOAE 2 and I don't see too many options opened.
MeteorStrike
ParticipantHoly crap… that's one heck of a hottie! Dude, if that's your wife, then I'm more proud of you now than ever! ;) I guess I'll just have to live bi-curiously through you! :p ( Yes, I misspelled vicariously on purpose cause it just sounds funnier. )
MeteorStrike
ParticipantCome on Lord Yuan Shu, give me a little credit. I know I'm socially inept, but even I know not to mention ROM hacking with the ladies! :) I've put my foot in my mouth plenty of times though… I was this [-] close to possibly going on a date with that stripper I offended on Tuesday (we even exchanged e-mail addresses. For real.) and then I opened my mouth and said something she didn't like… darn it… she was so hawt too… :S
EDIT: Man, looking at the Generals page I uploaded, I can see it's a little off on the HTML formatting… I'll have to remind myself to fix the layout next time I edit the tool. In the meantime:
The Generals file contains the drop items for each General. It's under the heading "(ER) DROPPED ITEM SET ID = XX". In DOAE 2, each General will have a specific ID that identifies which "group" of dropped items they can drop. So if 2 Generals have the same Drop Item Group ID, then they both drop the exact same possible items with the exact same drop probabilities.
EDIT: (Shoot, I screwed up my math down here :p) So for example, the General "A1 – Jiang Yong" has "(ER) DROPPED ITEM SET ID = 1F" and that group has a 2 in 64 chance of dropping the "3C – (SWORD)ZengZong" item. Note that the 2 / 64 chance applies only after the game calculates the 21 in 256 chance that you will get some item. So the real chance of getting that specific item is 21 * 2 / 256 * 64 = 42 in 16384, or about 1 in 390.
Also, the file Generals_Drop_Item_Set has all the Drop Item sets possible, the items and probabilities of each set, and for each set, all the Generals that use that set. So looking at that file, the item "3C – (SWORD)ZengZong" is only available with Item Drop Group ID 1F and all these generals can drop it:
A1 – Jiang Yong
C2 – Cao Zhi
AB – Zhang Liao
D7 – Cao Zhang
B3 – Cao Zhen
F6 – Sima Shi
EDIT:
Also, I might as well give you guys these Game Genie codes:
Always get item from enemy (bypasses the 21 in 256 chance)
OZVUGGEU
Note that it is still possible not to get an item from an enemy even with this code. That will happen if the item slot calculated happens to be an item with an "X" which means that slot for the group has no item. Also, after applying that code, you can also use:
Always get Item 0 from enemy:
OZNUYKPX
AEELAKYL
Always get Item 1 from enemy:
OZNUYKPX
AXELAKYL
Always get Item 2 from enemy:
OZNUYKPX
AUELAKYL
Always get Item 3 from enemy:
OZNUYKPX
AUELAKYU
Always get Item 4 from enemy:
OZNUYKPX
GUELAKYU
Always get Item 5 from enemy:
OZNUYKPX
I read them off from my laptop so let me know if some don't work as I could have mistyped them. Also, keep in mind the first-come-first-serve rule of Item Drops when fighting multiple Generals at once…
EDIT: Man, I love this "Edit" feature. It's so much nicer than typing like 3 messages, one after another… :)
MeteorStrike
ParticipantOK I just looked through my old notes, and you can start the damage formula here:
// Calling Function to handle attack
$AC9E:20 5F 97 JSR $975F
So this is where you would want to start if you want to trace the damage formula and possibly hex-edit it to do something else. The start for non-special attacks should be at $97CD.
When it gets to $9915, the actual damage inflicted will be at $10 -> $12. So as you can see, the damage formula is over 400 bytes, and over 150 lines just for the regular physical attacks. If you guys want to change it, you can start there.
MeteorStrike
ParticipantWell, I know it wasn't my fault because I know I didn't do anything, but that's where the paranoia kicks in, because other people might not -know- things like that. I guess I have a colonial-witch-hunt complex… Maybe I got accused of being a witch or a warlock in a past lifetime. :p
MeteorStrike
ParticipantActually, I have no idea, but you can read about his other interests in that other topic he created a while back. I heard a little bit of it and it sounded good to me. Then again, I know very little about music, so you might not want to go by what I say… :p
But I don't think it matters. Chicks dig guitar-touting guys. Well, some of them do, at least. Heck, at a minimum, it's one way to start up a conversation! You wouldn't believe how many times I go up to a girl and start talking to them about ROm hacking, and they just ROll their eyes… Who knew that would a turn off to the ladies? ;)
MeteorStrike
ParticipantHey Midnight! Too bad you don't live closer to Seattle. I bet with your guitar playing skills, you are probably a chick magnet. I could stand to benefit by hanging out at your rock concerts. I would talk with your groupie fans: "Yea, I used to rock it with MidNight back in the good old days… *cough* *rocking = ROM hacking* *cough*" And they would be like "OMG! Really?? I'm sooo hot for you right now!!" XD
-
AuthorPosts