EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   a myriad of missing pet names (https://www.eqemulator.org/forums/showthread.php?t=28632)

nilbog 06-19-2009 02:51 PM

a myriad of missing pet names
 
Currently, pets.cpp doesn't include all the pet names that it should.

in pets.cpp change

Code:

const char *GetRandPetName()
{
        static const char *petnames[] = { "Gabeker","Gann","Garanab","Garn","Garer","Gartik",
            "Gebann","Gebekn","Gekn","Geraner","Gobeker","Gonobtik","Jabantik",
            "Jasarab","Jasober","Jeker","Jenaner","Jenarer","Jobantik",
            "Jobekn","Jonartik","Kabann","Kabartik","Karn","Kasarer","Kasekn",
            "Kebekn","Keber","Kebtik","Kenantik","Kenn","Kentik","Kibekab",
            "Kobarer","Kobobtik","Konaner","Konarer","Konekn","Konn","Labann",
            "Lararer","Lasobtik","Lebantik","Lebarab","Libantik","Libtik",
            "Lobn","Lobtik","Lonaner","Lonobtik","Varekab","Vaseker","Vebobab",
            "Venarn","Venekn","Vener","Vibobn","Vobtik","Vonarer","Vonartik",
            "Xabtik","Xarantik","Xarar","Xarer","Xeber","Xebn","Xenartik",
            "Xeratik","Xesekn","Xonartik","Zabantik","Zaber","Zabn","Zabeker","Zanab",
            "Zaner","Zenann","Zonarer","Zonarn" };
        int r = MakeRandomInt(0, (sizeof(petnames)/sizeof(const char *))-1);
        printf("Pet being created: %s\n",petnames[r]); // DO NOT COMMENT THIS OUT!
        return petnames[r];
}

to this

Code:

const char *GetRandPetName()
{
        static const char *petnames[] = { "Gabaner","Gabann","Gabantik","Gabarab","Gabarer","Gabarn","Gabartik",
                "Gabekab","Gabeker","Gabekn","Gaber","Gabn","Gabobab","Gabobn","Gabtik",
                "Ganer","Gann","Gantik","Garab","Garaner","Garann","Garantik","Gararn",
                "Garekn","Garer","Garn","Gartik","Gasaner","Gasann","Gasantik","Gasarer",
                "Gasartik","Gasekn","Gaser","Gebann","Gebantik","Gebarer","Gebarn","Gebartik",
                "Gebeker","Gebekn","Gebn","Gekab","Geker","Gekn","Genaner","Genann","Genantik",
                "Genarer","Genarn","Gener","Genn","Genobtik","Gibaner","Gibann","Gibantik",
                "Gibarn","Gibartik","Gibekn","Giber","Gibn","Gibobtik","Gibtik","Gobaber",
                "Gobaner","Gobann","Gobarn","Gobartik","Gober","Gobn","Gobober","Gobobn",
                "Gobobtik","Gobtik","Gonaner","Gonann","Gonantik","Gonarab","Gonarer",
                "Gonarn","Gonartik","Gonekab","Gonekn","Goner","Gonobtik","Gontik","Gotik",
                "Jabaner","Jabann","Jabantik","Jabarab","Jabarer","Jabarn","Jabartik",
                "Jabekab","Jabeker","Jabekn","Jaber","Jabn","Jabobtik","Jabtik","Janab",
                "Janer","Jann","Jantik","Jarab","Jaranab","Jaraner","Jararer","Jararn",
                "Jarartik","Jareker","Jarekn","Jarer","Jarn","Jarobn","Jarobtik","Jartik",
                "Jasab","Jasaner","Jasantik","Jasarer","Jasartik","Jasekab","Jaseker",
                "Jasekn","Jaser","Jasn","Jasobab","Jasober","Jastik","Jebanab","Jebann",
                "Jebantik","Jebarab","Jebarar","Jebarer","Jebarn","Jebartik","Jebeker",
                "Jebekn","Jeber","Jebobn","Jebtik","Jekab","Jeker","Jekn","Jenann",
                "Jenantik","Jenarer","Jeneker","Jenekn","Jentik","Jibaner","Jibann",
                "Jibantik","Jibarer","Jibarn","Jibartik","Jibeker","Jibn","Jibobn",
                "Jibtik","Jobab","Jobaner","Jobann","Jobantik","Jobarn","Jobartik",
                "Jobekab","Jobeker","Jober","Jobn","Jobtik","Jonanab","Jonaner",
                "Jonann","Jonantik","Jonarer","Jonarn","Jonartik","Jonekab","Joneker",
                "Jonekn","Joner","Jonn","Jonnarn","Jonober","Jonobn","Jonobtik","Jontik",
                "Kabanab","Kabaner","Kabann","Kabantik","Kabarer","Kabarn","Kabartik",
                "Kabeker","Kabekn","Kaber","Kabn","Kabober","Kabobn","Kabobtik","Kabtik",
                "Kanab","Kaner","Kann","Kantik","Karab","Karanab","Karaner","Karann",
                "Karantik","Kararer","Karartik","Kareker","Karer","Karn","Karobab","Karobn",
                "Kartik","Kasaner","Kasann","Kasarer","Kasartik","Kaseker","Kasekn","Kaser",
                "Kasn","Kasober","Kastik","Kebann","Kebantik","Kebarab","Kebartik","Kebeker",
                "Kebekn","Kebn","Kebobab","Kebtik","Kekab","Keker","Kekn","Kenab","Kenaner",
                "Kenantik","Kenarer","Kenarn","Keneker","Kener","Kenn","Kenobn","Kenobtik",
                "Kentik","Kibab","Kibaner","Kibantik","Kibarn","Kibartik","Kibekab","Kibeker",
                "Kibekn","Kibn","Kibobn","Kibobtik","Kobab","Kobanab","Kobaner","Kobann",
                "Kobantik","Kobarer","Kobarn","Kobartik","Kobeker","Kobekn","Kober","Kobn",
                "Kobober","Kobobn","Kobtik","Konanab","Konaner","Konann","Konantik","Konarab",
                "Konarer","Konarn","Konekab","Koneker","Konekn","Koner","Konn","Konobn",
                "Konobtik","Kontik","Labanab","Labaner","Labann","Labarab","Labarer",
                "Labarn","Labartik","Labeker","Labekn","Laner","Lann","Larab","Larantik",
                "Lararer","Lararn","Larartik","Lareker","Larer","Larn","Lartik","Lasaner",
                "Lasann","Lasarer","Laseker","Laser","Lasik","Lasn","Lastik","Lebaner",
                "Lebarer","Lebartik","Lebekn","Lebtik","Lekab","Lekn","Lenanab","Lenaner",
                "Lenann","Lenartik","Lenekab","Leneker","Lenekn","Lentik","Libab","Libaner",
                "Libann","Libantik","Libarer","Libarn","Libartik","Libeker","Libekn","Lobann",
                "Lobarab","Lobarn","Lobartik","Lobekn","Lobn","Lobober","Lobobn","Lobtik",
                "Lonaner","Lonann","Lonantik","Lonarab","Lonarer","Lonarn","Lonartik","Lonekn",
                "Loner","Lonobtik","Lontik","Vabanab","Vabaner","Vabann","Vabantik","Vabarer",
                "Vabarn","Vabartik","Vabeker","Vabekn","Vabtik","Vanikk","Vann","Varartik","Varn",
                "Vartik","Vasann","Vasantik","Vasarab","Vasarer","Vaseker","Vebaner","Vebantik",
                "Vebarab","Vebeker","Vebekn","Vebobn","Vekab","Veker","Venaner","Venantik","Venar",
                "Venarn","Vener","Ventik","Vibann","Vibantik","Viber","Vibobtik","Vobann",
                "Vobarer","Vobartik","Vobekn","Vober","Vobn","Vobtik","Vonaner","Vonann",
                "Vonantik","Vonarab","Vonarn","Vonartik","Voneker","Vonn","Xabanab","Xabaner",
                "Xabarer","Xabarn","Xabartik","Xabekab","Xabeker","Xabekn","Xaber","Xabober",
                "Xaner","Xann","Xarab","Xaranab","Xarann","Xarantik","Xararer","Xarartik","Xarer",
                "Xarn","Xartik","Xasaner","Xasann","Xasarab","Xasarn","Xasekab","Xaseker",
                "Xebarer","Xebarn","Xebeker","Xeber","Xebober","Xebtik","Xekab","Xeker",
                "Xekn","Xenann","Xenantik","Xenarer","Xenartik","Xenekn","Xener","Xenober",
                "Xentik","Xibantik","Xibarer","Xibekab","Xibeker","Xibobab","Xibober","Xibobn",
                "Xobaner","Xobann","Xobarab","Xobarn","Xobekab","Xobeker","Xobekn","Xober",
                "Xobn","Xobobn","Xobtik","Xonaner","Xonann","Xonantik","Xonarer","Xonartik",
                "Xonekab","Xoneker","Xonekn","Xoner","Xonober","Xtik","Zabaner","Zabantik",
                "Zabarab","Zabekab","Zabekn","Zaber","Zabn","Zabobab","Zabober","Zabtik",
                "Zaner","Zantik","Zarann","Zarantik","Zararn","Zarartik","Zareker","Zarekn",
                "Zarer","Zarn","Zarober","Zartik","Zasaner","Zasarer","Zaseker","Zasekn","Zasn",
                "Zebantik","Zebarer","Zebarn","Zebartik","Zebobab","Zekab","Zekn","Zenann",
                "Zenantik","Zenarer","Zenarn","Zenekab","Zeneker","Zenobtik","Zibanab","Zibaner",
                "Zibann","Zibarer","Zibartik","Zibekn","Zibn","Zibobn","Zobaner","Zobann",
                "Zobarn","Zober","Zobn","Zonanab","Zonaner","Zonann","Zonantik","Zonarer",
                "Zonartik","Zonobn","Zonobtik","Zontik","Ztik" };
        int r = MakeRandomInt(0, (sizeof(petnames)/sizeof(const char *))-1);
        printf("Pet being created: %s\n",petnames[r]); // DO NOT COMMENT THIS OUT!
        return petnames[r];
}


cavedude 06-19-2009 05:22 PM

Great work, this will be committed now.

So_1337 06-19-2009 06:03 PM

I'm just curious, but where you did find this? Good work :)

nilbog 06-19-2009 06:46 PM

Random google searching of +goner +jobeker yielded this showeq page.

http://www.james-gang.org/greydove/u...lters_conf.txt

I'm just happy the notepad++ macro function worked well to edit all of them in the proper format. :)

ChaosSlayerZ 06-19-2009 06:59 PM

Cavedude, how about we do this DIFFIRENTLY - how about we make a TABLE in the DB so people can enter their own pet names.

Not to mention some of us do not want the stupid names at all...

Read me post on the subject here please:

http://www.eqemulator.net/forums/showthread.php?t=28332

steve 06-19-2009 07:33 PM

Sorry, but I need to say this.

We don't need a table for this. Those names are in plain text in the source, you can edit them and recompile if you want furthur customization.

We're emulating EverQuest, this isn't 'ChaosSlayer's World' forums. I think they've already been more than accomodating to your requests. If you want that level of customization, you need to learn to compile the source on your own.

No hard feelings, but sheesh, when will it end?

ChaosSlayerZ 06-19-2009 07:39 PM

Quote:

Originally Posted by steve (Post 172542)
Sorry, but I need to say this.

We don't need a table for this. Those names are in plain text in the source, you can edit them and recompile if you want furthur customization.

We're emulating EverQuest, this isn't 'ChaosSlayer's World' forums. I think they've already been more than accomodating to your requests. If you want that level of customization, you need to learn to compile the source on your own.

No hard feelings, but sheesh, when will it end?

Yeah we have been at this before many times. But I will say this again - the code of the source should such as to handle ANy entry. For the PROJECT benefit. So anytime you want to change or alter something you do NOT have to recompile the source.


All times are GMT -4. The time now is 06:55 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.