|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum) |
08-24-2002, 05:16 AM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
Please Post Snippets Or Diffs
...of code you change.. otherwise we have to diff our files which have other modifcations, and find what you changes, THEN merge it..try something like this
/zone/client.cpp(path/file..make sure you include path):4567(line number to start)
Code:
pp.aapoints = atoi(sep.arg[1]);
message << "Set your AA Points to: " << pp.aapoints << endl;
makes it much easier on us to merge it
If you are changing the lines of code, also paste the block(s) of corresponding orginal source(from the zip) .. also.. i just made the above example up, don't do it
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
|
08-24-2002, 10:03 AM
|
Demi-God
|
|
Join Date: Jan 2002
Posts: 2,073
|
|
StarTeam has a built in "Visual Diff" and "Visual Merge" tool we use all the time (on top of using ST for our CVS).. if you want these tools you can download StarTeam at www.starbase.com and get an evaluation key..
On the other hand, i'm sure there are hundreds of other similar tools that do the same job (maybe even better).
__________________
Shawn319
Semi-Retired EQ Addict
(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support
(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
|
08-24-2002, 02:52 PM
|
Sarnak
|
|
Join Date: Aug 2002
Posts: 88
|
|
Sorry, I do all my programming under Unix.
I can use diff, you need to tell me what kind you want.
|
08-25-2002, 05:00 AM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
diff -uBb clean changed > blah
obviously, paste blah
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
|
09-10-2002, 12:25 PM
|
Fire Beetle
|
|
Join Date: Sep 2002
Posts: 8
|
|
Patch for rogue assassination ability.
I do all my work with unix stuff, only reason I even boot windows is to run the eq client, so this is a diff, if it's not acceptable i can send the modified files.
This thing won't let me just attach files, so here's an URL:
http://www.heliacal.net/~solar/misc/rogue.patch
|
|
|
|
04-22-2003, 04:08 PM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 66
|
|
As I started populating my zones, I realized it was a pain to figure out what models were available in each zone. So here is my first contribution: #fixmob
#fixmob [nextrace|prevrace|gender|nexttexture|prevtexture|n exthelm|prevhelm]
Start with #spawn, then use #fixmob with the different parameters to easily navigate through the different races, gender, textures and head textures (head only seem to work for giants). I'll look to add facial features shortly. Finish it off with #npcspawn and you're close to having a full ingame mob editor.
I just wish there was a way to skip innexistant textures... Anyone got any insight? Error returned by client maybe? Gonna look into this to next.
here is my patch file for client.cpp of EQEmu 0.4.4-DR1.
#patch client.cpp client.patch.
Code:
3568a3569,3665
> // WORKPOINT 1
> else if (strcasecmp(sep->arg[0], "#fixmob") == 0) {
> if (!sep->arg[1])
> Message(0,"Usage: #fixmob [nextrace|prevrace|gender|nexttexture|prevtexture|nexthelm|prevhelm]");
> // Series of functions to manipulate spawns.
> else if (strcasecmp(sep->arg[1], "nextrace") == 0) {
> // Set to next race
> if ((target) && admin >= 100) {
> if (target->GetRace() == 329) {
> target->SendIllusionPacket(1);
> Message(0, "Race=1");
> }
> else {
> target->SendIllusionPacket(target->GetRace()+1);
> Message(0, "Race=%i",target->GetRace());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "prevrace") == 0) {
> // Set to previous race
> if ((target) && admin >= 100) {
> if (target->GetRace() == 1) {
> target->SendIllusionPacket(329);
> Message(0, "Race=%i",329);
> }
> else {
> target->SendIllusionPacket(target->GetRace()-1);
> Message(0, "Race=%i",target->GetRace());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "gender") == 0) {
> // Cycle through the 3 gender modes
> if ((target) && admin >= 100) {
> if (target->GetGender() == 0) {
> target->SendIllusionPacket(target->GetRace(), 3);
> Message(0, "Gender=%i",3);
> }
> else {
> target->SendIllusionPacket(target->GetRace(), target->GetGender()-1);
> Message(0, "Gender=%i",target->GetGender());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "nexttexture") == 0) {
> // Set to next texture
> if ((target) && admin >= 100) {
> if (target->GetTexture() == 25) {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), 1);
> Message(0, "Texture=1");
> }
> else {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture()+1);
> Message(0, "Texture=%i",target->GetTexture());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "prevtexture") == 0) {
> // Set to previous texture
> if ((target) && admin >= 100) {
> if (target->GetTexture() == 1) {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), 25);
> Message(0, "Texture=%i",25);
> }
> else {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture()-1);
> Message(0, "Texture=%i",target->GetTexture());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "nexthelm") == 0) {
> // Set to next helm. Only noticed a difference on giants.
> if ((target) && admin >= 100) {
> if (target->GetHelmTexture() == 25) {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture(), 1);
> Message(0, "HelmTexture=1");
> }
> else {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture(), target->GetHelmTexture()+1);
> Message(0, "HelmTexture=%i",target->GetHelmTexture());
> }
> }
> }
> else if (strcasecmp(sep->arg[1], "prevhelm") == 0) {
> // Set to previous helm. Only noticed a difference on giants.
> if ((target) && admin >= 100) {
> if (target->GetHelmTexture() == 1) {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture(), 25);
> Message(0, "HelmTexture=%i",25);
> }
> else {
> target->SendIllusionPacket(target->GetRace(), target->GetGender(), target->GetTexture(), target->GetHelmTexture()-1);
> Message(0, "HelmTexture=%i",target->GetHelmTexture());
> }
> }
> }
> }
4350a4448
> Message(0, " #fixmob [nextrace|prevrace|gender|nexttexture|prevtexture|nexthelm|prevhelm]");
|
|
|
|
04-22-2003, 08:38 PM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
Yes, this is the kind of post we are looking for, but in its own thread. I'll leave the post here though as it is a very good example of exactly what we are looking for when people submit code.
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
|
04-23-2003, 01:15 AM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 66
|
|
Oh, sorry. Figured this was the thread you wanted snippets in. Guess I wasn't myself, Leafs were losing game 7 by 5 goals!
|
05-12-2003, 05:16 AM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 72
|
|
quick hack to combat code that seems more realistic..
blearg!
|
05-13-2003, 04:43 AM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
I will repeat, do NOT post the snippets and diffs here, this is just a general information thread on HOW to submit them, in their OWN THREAD
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
|
06-16-2003, 11:35 PM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 53
|
|
Quote:
Originally Posted by Shawn319
StarTeam has a built in "Visual Diff" and "Visual Merge" tool we use all the time (on top of using ST for our CVS).. if you want these tools you can download StarTeam at www.starbase.com and get an evaluation key..
On the other hand, i'm sure there are hundreds of other similar tools that do the same job (maybe even better).
|
I have never been able to get that url to work, always a down page. Any other place I could get something to create diff files?
|
06-16-2003, 11:39 PM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|
06-17-2003, 05:23 PM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 53
|
|
thanks! DL'ing it right now =)
|
06-20-2003, 07:47 AM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 53
|
|
bah, not sure WHAT i downloaded, but it had nothing to do with a version anything :evil:
how about a filename to look for?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:39 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|