Maybe whats causing the new unit crash is wrong harcoded value list...
no the main problem is the values being substituted in the right places in the virtual memory
i have about 90% of the units working
the hard ones to get are the undifined values or units cause there is no way of telling if you screwed up unless starcraft crashes
What do you mean, 90%? I thought we were going to create our own units. Or are you making a .exe mod to show what Pizudraft can do like said before.
I'd like to offer some help to you on this. Are you trying to just add an extended units.dat or are you adding units, flingy, sprites, and images? Each way presents a different problem. If just units, are you sure the format is right? There's some things wrong with the AZ format file for units.dat. I know, I've figure out where/what all the unknowns are. If you don't think that is the problem, have you checked all the spaces for images.dat's pointers? I know that they use a list of pointers that can cause some problem when extending. If it's neither of those, are you sure you have all the right offsets changed to point to the new .dat files? Any one of those could be the problem.
QUOTE(Darktossgen(MM) @ Jan 19 2006, 07:29 AM)
What do you mean, 90%? I thought we were going to create our own units. Or are you making a .exe mod to show what Pizudraft can do like said before.
[right][snapback]410541[/snapback][/right]
ok here is the problem i started the whole project from scratch
nothing to work from
i figured out the whole thing from the ground up to avoid problems met in previous versions
and as for the 90% thats is the already implemented units
i have to have the SCV working before i can add some gigalarge space destroyer
and the new units work 100% its the old ones im having problems with
and DiscipleOfAdun im extended units.dat trying to go with the same concept of SCEx
and last of all another thing i have just put the finishing toutches on it my greatest idea ever
MOD IN A MAP v2i have changed the starcraft.exe so that when you load a map of of battle.net (or run it or what ever realy as long as you open it in starcraft) it will search a section of the map under "mod\" and find all the units.da and other things and reload them into memory so you can play the mod for as long as the map is running. and then when you leave the map the normal values are restored
I bet you might have a problem with the format on some of the entries in units.dat(maybe). Here's an az format that I made recently that is 100% accurate(I dissassembled and tested everything myself):
CODE
[INIT DATA]
numVars=54
numEntries=228
[VAR DATA]
01Name=Graphic
Size=1
Numb=228
Offset=0
02Name=Subunit 1
Size=2
Numb=228
Offset=0
03Name=Subunit 2
Size=2
Numb=228
Offset=0
04Name=Infestation Pointer
Size=2
Numb=96
Offset=106
05Name=Construction Anim
Size=4
Numb=228
Offset=0
06Name=Subunit Turning
Size=1
Numb=228
Offset=0
07Name=Shield Enable
Size=1
Numb=228
Offset=0
08Name=Shield Amount
Size=2
Numb=228
Offset=0
09Name=Hit Points
Size=4
Numb=228
Offset=0
10Name=Anim Level
Size=1
Numb=228
Offset=0
11Name=Movement Type
Size=1
Numb=228
Offset=0
12Name=Staredit: Order/Sublabel
Size=1
Numb=228
Offset=0
13Name=Action: Comp Init
Size=1
Numb=228
Offset=0
14Name=Action: Human Init
Size=1
Numb=228
Offset=0
15Name=Action: Idle After Action
Size=1
Numb=228
Offset=0
16Name=Action: Attack Unit
Size=1
Numb=228
Offset=0
17Name=Action: Attack Ground/Move
Size=1
Numb=228
Offset=0
18Name=Weapon: Ground
Size=1
Numb=228
Offset=0
19Name=Max Hit: Ground
Size=1
Numb=228
Offset=0
20Name=Weapon: Air
Size=1
Numb=228
Offset=0
21Name=Max Hit: Air
Size=1
Numb=228
Offset=0
22Name=Order Flags
Size=1b
Numb=228
Offset=0
23Name=Special Ability Flags
Size=4b
Numb=228
Offset=0
24Name=Target Aquire Range
Size=1
Numb=228
Offset=0
25Name=Sight Range
Size=1
Numb=228
Offset=0
26Name=Armor Upgrade Group
Size=1
Numb=228
Offset=0
27Name=Size
Size=1
Numb=228
Offset=0
28Name=Armor Amount
Size=1
Numb=228
Offset=0
29Name=Right Click Action
Size=1
Numb=228
Offset=0
30Name=Ready Sound
Size=2
Numb=106
Offset=0
31Name=What Sound Start
Size=2
Numb=228
Offset=0
32Name=What Sound End
Size=2
Numb=228
Offset=0
33Name=Piss Sound Start
Size=2
Numb=106
Offset=0
34Name=Piss Sound End
Size=2
Numb=106
Offset=0
35Name=Yes Sound Start
Size=2
Numb=106
Offset=0
36Name=Yes Sound End
Size=2
Numb=106
Offset=0
37Name=Placement Dimensions
Size=2x2
Numb=228
Offset=0
38Name=Addon Placement
Size=2x2
Numb=96
Offset=106
39Name=Buffer Dimensions
Size=2x4
Numb=228
Offset=0
40Name=Portrait
Size=2
Numb=228
Offset=0
41Name=Mineral Cost
Size=2
Numb=228
Offset=0
42Name=Vespene Cost
Size=2
Numb=228
Offset=0
43Name=Build Time
Size=2
Numb=228
Offset=0
44Name=Resriction Flags
Size=2b
Numb=228
Offset=0
45Name=Staredit: Group Flags
Size=1b
Numb=228
Offset=0
46Name=Food Provided
Size=1
Numb=228
Offset=0
47Name=Food Required
Size=1
Numb=228
Offset=0
48Name=Space Required
Size=1
Numb=228
Offset=0
49Name=Space Given
Size=1
Numb=228
Offset=0
50Name=Build Score
Size=2
Numb=228
Offset=0
51Name=Destroy Score
Size=2
Numb=228
Offset=0
52Name=Map String Referencer
Size=2
Numb=228
Offset=0
53Name=Broodwar Unit Flag
Size=1
Numb=228
Offset=0
54Name=Staredit Availability Flags
Size=2
Numb=228
Offset=0
That should help out. The entries you might be having problems with are the dimensions and the infestation. If not, it was a try to help. Anyway, good luck. QUOTE(pizuscag @ Jan 9 2006, 07:01 PM)
internet serves provider = isp
and trust me you are good with the conection you have
i have BIG bandwidth
and an equaly large bill
[right][snapback]403017[/snapback][/right]
I bet you've got that european Gigabit internet for 120$/month.
That is some hot shiz, you cant get that in the US.
NM, youre talking about web hosting.
QUOTE(pizuscag @ Jan 19 2006, 09:48 PM)
ok here is the problem i started the whole project from scratch
nothing to work from
i figured out the whole thing from the ground up to avoid problems met in previous versions
and as for the 90% thats is the already implemented units
i have to have the SCV working before i can add some gigalarge space destroyer
and the new units work 100% its the old ones im having problems with
and DiscipleOfAdun im extended units.dat trying to go with the same concept of SCEx
and last of all another thing i have just put the finishing toutches on it my greatest idea ever
MOD IN A MAP v2
i have changed the starcraft.exe so that when you load a map of of battle.net (or run it or what ever realy as long as you open it in starcraft) it will search a section of the map under "mod\" and find all the units.da and other things and reload them into memory so you can play the mod for as long as the map is running. and then when you leave the map the normal values are restored
[right][snapback]410962[/snapback][/right]
Woah! Sounds great! Good luck with this, pizuscag!
Good and bad news
Good news is im swiching the whole poroject to C++
Bad news is that it is going to take me a while to swich the whole project from C# to C++ so no additional features will be added for the next month or so
AND MORE GOOD NEWS
pizudraft has become a HUGE project and im looking for people to help me
If u want to become a BETA tester/developer u have to be able to do this:
program in C#, C++, and Visual Basic
Have a good knowledge of starcrafts inerworkings
Have a good internet conection(pizudraft without compiling is huge >200mb and i dont want to have to wait for 20h to get the changes you made)
ALOT of free time im working 2h in the morning and 2h at night at least and im getting only little bits done
Off that subject pizudraft is going prety well
and on thing if you want pizudraft to be YOUR modding tool
SUBMIT IDEAS...im getting bored just fixing bugs for 4 hours a day
I'll try to get some. BRAAAAAAAIIIIINNNNSSSTTTTOOOORRRRMMM!
1)Be able to edit Scarab//Interceptor counts.
2)Be able to edit WHAT a Reaver//Carrier creates.
3)Be able to add Tottaly new spells, not just build off of others.
4)The ability to allow units to be
Created at the Larva. This is because it
WAS restricted to the Infested Command Center.
I would feel content when I have my Reavers building psionic storm blast shockwaves.
ADDITION:
QUOTE
program in C#, C++, and Visual Basic
Have a good knowledge of starcrafts inerworkings
None of these, but I would love to help
You got a 6 hour tester right here ^
I don't have alot of programming experience, and I know a little about StarCraft's inner workings, but not much...
...but if you let me beta test, I'll give you my soul.
Darktossgen(MM) THANK YOU...i actualy had something interesting to do today
And Darktossgen(MM) & Voyager7456(MM) u Guys have been a help and ill rember you for when pizudraft needs testers
But for now PLEASE if there is someone who can do any of the programing aspects of pizudraft i would thank them alot...im kinda swamped right now with End of semester exams also im busy working on a WoW emu server fix AND still trying to keep a 90% average (and being sucesful)
so pizudraft is going to be going slowly as the next months pass...
also NO work will be done durring the summer...im having a Brittish friend comming over for a month or so...
Want some more Ideas?
1)Be able to infest any building.
2)Be able to give a Queen an attack. it can attack when u Set the AI Right... but it cant infest
3)Make any unit be able to morph. this got patched a while back
4)Make any unit be able to infest any building (?)
Sorry I'm still learning C++ and I havnt been able to make any programs yet
As for the ideas, heres a few things that might help:
- spawn larva from any unit
- teleport units from 1 building to the other (like nydas cannal)
- make units be able to attack when loaded (like bunker)
- make any race able to spawn creep
- ability to create new resources (and make them required for building stuff)
- add ability for units to convert resources to other resource types (and charge a little fee)
- ability to make buildings teleport themself (and bunkers units working at new spot)
- ability for a unit to spawn another unit (like broodlings ability, but doesnt require a unit)
- able to make a unit already casting a ability when they spawn (like cloak or burrow)
YAY...im gona be hard at work to get those ideas working
P.S. at the way pizudraft is getting more ideas i should almost rename it Starcraft2
If even half this stuff can be done...
Heres some more sugguestions
(sorry about not updating old post but wouldnt think you'd see them)- Ability to make a building suicide and get a certain ammount of resources back
- able to make a condition for using a certain ability (like "is burrowd")
- ability to create new un-selectable units (like swarm, or nuclear missile)
- ability to chose whether you can select a group of the unit or just one (like critters)
- ability to sell units
- ability to edit buildings required size
- ability to make a unit be able to move on water only
Edit: I think im giving you too many ideas so imma just stop for now
I have a request or two, it would be great if you could look into these:
- Having an attack (regular attack, not spell) target units only.
- Changing the number of units generated by Spawn Broodling.
- Changing the Unit ID generated by Spawn Broodling.
- Giving the Broodling's "limited lifespan" effect to other units.
- Enabling spells to be cast on the casting unit. (Ex, cast Defensive Matrix on self)
I know some of these are possible through hex editing, not sure about others.
This sounds like it is gonna be really cool maybe add a
Interceptor/Scrab count changer or something
Good luck on this mod ill be open to testing You guys don't seem to realize what you're asking for.
I know exactly what they're asking for.
And I know how much work some would take to acomplish. Ojan i dont realy care what they ask for as long as its posible
also TERRAINFIGHTER read the first post (ability to add a fourth race) i can add up to 256 new races (that was probably over kill)
I've got a question. When you add a new race, what file is the new icons for supply read from? I've been searching through everything I can think of and don't know where it is.
BTW, I would offer my help(I meet all of you requirements except for the VB programming knowledge and sometimes time), but I'm kinda working on my own button patcher right now(seeing as how Memgraft isn't working, and it looks like the rally glitch is going to make a new patch come out soon.) When I finish, I'll be able to help you out, because this sound like a really fun project to work on.
I'm not sure if this applies to the supplies for new races...
The supply icons and minerals and gas icons are stored in game\icons.grp. It's not the standard .grp format, but instead the alpha GFX that they used way back in WarCraft I
I'm working on a converter for the format, but freetime is non-existing.
I suppose you're already aware of that though
Yeah, I understand that issue....
pizuscag, how about adding in some bug fixes too? I know how to fix the rally bug(pm me if you want instructions on how to fix it).