Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ SWR 1.0 skills

SWR 1.0 skills

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Miked   USA  (30 posts)  Bio
Date Tue 28 Jun 2005 10:39 PM (UTC)
Message
I am trying to change the name of skills: blasters, starfighters, and makeblaster to guns, mobile suits, and makegun, respectively.

I have changed everything in the swskills.c, fight.c, mud.h, tables.c, space.c, and everything that came up as errors in Cygwin, but i keep getting this:


o/fight.o: In function 'weapon_prof_bonus_check':
/cygdrive/c/dist/src/fight.c:534: undefined reference to '_gsn_guns'
o/space.o: In funtcion 'do_launch':
/cygdrive/c/dist/src/space.c:4670: undefined reference to '_gsn_mobilesuits'
/cygdrive/c/dist/src/space.c:4772: undefined reference to '_gsn_mobilesuits'
/cygdrive/c/dist/src/space.c:4783: undefined reference to '_gsn_mobilesuits'
o/space.o: In function 'do_land'
/cygdrive/c/dist/src/space.c:5147: undefined reference to '_gsn_mobilesuits'
/cygdrive/c/dist/src/space.c:5163: undefined reference to '_gsn_mobilesuits'
o/space.o:/cygdrive/c/dist/src/space.c:5177: more undefined references to '_gsn_mobilesuits' follow



It does like that for the other makegun also. And in each of these I made sure that each said gsn_whatever. I don't know where the underscore before gsn came from. And the three skills are listed in the right spot in mud.h.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 28 Jun 2005 10:47 PM (UTC)
Message
Did you change the int defintions at the top of db.c? IIRC, there are a bunch of DECLARE_GSN calls or something like that.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Tue 28 Jun 2005 11:55 PM (UTC)
Message
*nod* Next time use grep to search through the files to make sure you changed everything.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,312 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.