Log in

View Full Version : How is Kejek Forge handled differently?


Ropethunder
08-26-2016, 11:25 PM
We're looking to implement in Project 1999 the Kejek Forge in Stonebrunt Mountains but it seems to be a very special thing.

https://s4.postimg.io/k7o5b2k8d/pimgpsh_fullsize_distr.png

For example, when the forge is clicked on in Live we see the title "Kejek Forge." This string does not exist in eqstr_us.txt or in a grep of the entire live client directory.

nilbog says that other racial forges are found there:

3427 Always Works
3428 Koada`Dal Forge
3429 Teir`Dal Forge
3430 Oggok Forge
3431 Stormguard Forge
3432 Ak`anon Forge
3433 Northman Forge
3434 Cabilis Forge
3435 Freeport Forge
3436 Royal Qeynos Forge
3437 Iksar Pottery Wheel

So is there some kind of special opcode for this forge we don't know about?

I work with the client source but analyzing opcodes and reverse engineering live server magic is beyond my expertise.

Zaela_S
08-27-2016, 12:48 AM
Working partly from memory here but the code seems to back it up:

No special opcodes.

The Object that is spawned in the zone is associated with the itemid of an item called "Kejek Forge". That's all. Trivial to add custom world tradeskill containers. The ones listed in eqstr_us.txt are just super-early oddballs that were probably hardcoded.

Zaela_S
08-27-2016, 01:58 AM
On closer inspection I think I'm misremembering... boo. Unless there's some special object "type" value or item packet, the names that show up for the container do seem to be pretty inflexible...

Uleat
08-27-2016, 07:06 PM
3427 Always Works
3428 Koada`Dal Forge
3429 Teir`Dal Forge
3430 Oggok Forge
3431 Stormguard Forge
3432 Ak`anon Forge
3433 Northman Forge
3434 Cabilis Forge
3435 Freeport Forge
3436 Royal Qeynos Forge
3437 Iksar Pottery Wheel

Those translate specifically to bagtypes and are for racial armor combines.


I'm not familiar enough with the Kejek forge to say with any certainty what's going on...


Looking at the database entry, it's just a standard forge object.

From what I remember, I don't believe there is any factional code surrounding tradeskills..and this appears to be faction-based.


Are there any other factional world tradeskill objects around?

demonstar55
08-27-2016, 08:31 PM
It's not ClickObjectAction?

demonstar55
08-27-2016, 09:46 PM
https://i.imgur.com/qIWMNEO.png

Uleat
08-27-2016, 09:55 PM
Haha!

I've only gotten as far as booting up and going to the forge :P


Do we need to add faction/object name fields to the objects table?

Or is everything in place?

demonstar55
08-27-2016, 10:31 PM
I pushed something upstream if a p99 dev wants to see how it works :P

DanCanDo
08-29-2016, 02:19 AM
I tried out that sql update to add the display_name to object table.

http://i1036.photobucket.com/albums/a446/dancando/Object-Display_zpsikiknein.jpg (http://s1036.photobucket.com/user/dancando/media/Object-Display_zpsikiknein.jpg.html)

N0ctrnl
08-29-2016, 11:16 AM
I'm pretty sure he wouldn't have committed it if it didn't work. :P

demonstar55
08-29-2016, 12:16 PM
I'm pretty sure he wouldn't have committed it if it didn't work. :P

That's not strictly true ... I did test this however.

DanCanDo
08-29-2016, 03:42 PM
I'm pretty sure he wouldn't have committed it if it didn't work. :P

I wasn't trying to make sure "it worked". It was simply just for interested
(non-devs) to look at.