What problem are you actually having?

I did this, (didn't use a snippet though) so i'm quite familiar with it.

Jason


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 31, 2001 12:08 PM
> To: [email protected]
> Subject: Extra Exits
> 
> 
> Hello,
> I have tried about 5 times, by myself, to install extra 
> exits. I always get 
> stuck and it just doesn't seem to work. Each time I remove 
> what I did and try 
> another route. Since then I took about a two month break and 
> decided started 
> where I left off. I still made no progress. So, if anyone 
> would be willing to 
> help out, maybe walk me through it so I can see how its done 
> correctly, or 
> provide any points on the snippet I am using (Which I will be 
> providing) that 
> would be great. If you want to contact me via AIM, its 
> SoullessKnightX. Here 
> is the snippet:
> ===================================
> From: [EMAIL PROTECTED]
> 
> Extra Exits  ROM 2.4 (ne nw se sw)
> 
>         I am making this letter to help al the newbie coders.   First
> off I would like to Thank Erwin and Ao for helping
> me figure this out.   I have OLC 1.6 (mobprograms) and Lope's 
> Colour on
> my mud.... So not all the files will apply...
> 
> List of all the files that need changed
> act_info
> act_move
> act_wiz
> comm
> db
> fight
> merc.h *
> mob_cmds
> olc_act
> interp.c
> interp.h
> olc.c
> olc.h
> scan
> update
> 
> I found out the places I need to change by looking for DOWN and adding
> the extra exits to it. An example of what
> you should be looking for is below....
>          if ( !str_cmp( arg1, "n" ) || !str_cmp( arg1, 
> "north" ) ) door
> = 0;
>     else if ( !str_cmp( arg1, "e" ) || !str_cmp( arg1, "east" 
>  ) ) door
> = 1;
>     else if ( !str_cmp( arg1, "s" ) || !str_cmp( arg1, 
> "south" ) ) door
> = 2;
>     else if ( !str_cmp( arg1, "w" ) || !str_cmp( arg1, "west" 
>  ) ) door
> = 3;
>     else if ( !str_cmp( arg1, "u" ) || !str_cmp( arg1, "up"   
>  ) ) door
> = 4;
>     else if ( !str_cmp( arg1, "d" ) || !str_cmp( arg1, "down" 
>  ) ) door
> = 5;
> this is what u should add !!!!!!!!
>     else if ( !str_cmp( arg1, "ne" ) || !str_cmp( arg1, 
> "northeast"  ) )
> door = 6;
>     else if ( !str_cmp( arg1, "nw" ) || !str_cmp( arg1, 
> "northwest"  ) )
> door = 7;
>     else if ( !str_cmp( arg1, "se" ) || !str_cmp( arg1, 
> "southeast"  ) )
> door = 8;
>     else if ( !str_cmp( arg1, "sw" ) || !str_cmp( arg1, 
> "southwest"  ) )
> door = 9;
> 
> Also look for DOOR  change all the 5's to 9 and 6's to 10.... 
> Look below
> for help
>               ( door = 0; door <= 5; door++ )
> 
> should be     ( door = 0; door <= 9; door++ )
> 
> 
> IMPORTANT NOTE  !!!!!!!!!! in act_move make sure u do the rev dir.....
>                            also in merc.h look for MAX_DIR 
> and EXIT_DATA
> 
> 
> I hope this file helps some lost souls out there.  If u have any
> question the 
> ROM mailing list is a good place to ask them..... or e mail me
> [EMAIL PROTECTED]
> 
>     
>                              Happy Coding   
>             
>             Carnage
> ====================================================
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to