ArcEmu: Wysiwyg Gossip Creator - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Wysiwyg Gossip Creator

#1 User is offline   hypersniper 

  • Advanced Member
  • Group: Retired
  • Posts: 227
  • Joined: 21-November 08
  • Gender:Male

Posted 10 January 2011 - 04:12 PM

WYSIWYG Gossip Creator
Today I bring you a tool, long awaited by the community, allowing to to create gossip menus without one line of code. This tool will create Lua files based on your menu design which can instantly be used in-game. The What You See Is What You Get system allows you to see exactly what you're creating as you go along, and makes it incredibly easy to make custom teleporters, vendors and other interractible objects. Overall, this should help non-programmers create gossip for their servers and should simplify the creation process in general.

Posted Image

HyperGossip brings a lot to the gossip creation process.

Project system - Create, save, and load your menus at any time.

Any object - NPC? Game object? Item? No worries.

Heading text - All aspects are handled within the one program. HG outputs a ready-made SQL file if it is required for the npc_text table.

Up to nine menu options - HG accommodates for up to 9 menu options. Each one can have its own icon, actions and text. Option text can be coloured very easily using a BBCode colour system. No more hex numbers and |cFF! (Of course, if you want hex colours, they are also available!)

Posted Image

Lots of functions - Most Lua functions are ported to the easy-to-use actions interface, which allows you to create, alter and delete your actions at any time.

Comprehensive help file - A detailed help file is included which contains an overview of every screen and an FAQ section to answer your most common queries.

Downloads

Friz Quadrata TT Font - This needs to be downloaded into the same folder as HyperGossip.exe and renamed to "Friz_Quadrata_TT.ttf" for the Preview to have the correct font. See the FAQ for more details.

HyperGossip help - Extract to same folder as hypergossip.exe

HyperGossip v1.4 download - Just un-rar and run hypergossip.exe.

FAQ
(Images have been removed; see help file for full FAQ)

1) The preview font is wrong!

This is because you do not have the appropriate font file.

"Friz_Quadrata_TT.ttf" needs to be placed in the same folder as HyperGossip.exe. Because this is a commercial font it is illegal to distribute it freely. It can be purchased from LinoType.com in the ITC Library under the Friz Quadrata Family. Alternatively, a free source *may* be available on the internet, but it is up to you to find.

2) When running my .SQL file on the world database I get error: [Err] 1062 - Duplicate entry '<number>' for key 'PRIMARY'

The error may appear like it does above. This means that the automatically generated npc_text ID was already taken in your database. This shouldn't happen much, but is fixable:

- Firstly change the entry ID to a unique one in the .sql file:

- Next, change the npc_text entry within the .lua file:

Again, those 68's should be changed to 500068, the same as you entered in the .sql file. The npc_text entries are ALWAYS located as depicted: the first number after GossipCreateMenu(... .

- Execute the SQL file on your world database again and you're done!

3) What do I do with my SQL files?

SQL files are executed onto a world database using a database management program (usually NaviCat or HeidiSQL). See your DB program's help file for details.

4) What do I do with .lua files?

Place them in the 'scripts' folder of your core directory (NOT script_bin) and they will be in effect next restart.

5) What core/revision does this tool work for?

This tool was designed to be used on Arcemu servers that are relatively up-to-date (r3500+ should be fine). Typically the generated Lua files will work with any Lua-capable core, however, no guarantee is made for their funtionality. The SQL file is also made in Arcemu database structure and may not work on other cores.

6) What about repacks?

Assuming you are using a decent, up-to-date Arcemu repack, this tool will work fine. You may have to check your repack's release page or ask the author for the details.

Changelog

1.4 - Added new feature: automatically inserts $B when a line break is needed
- Fixed possible crash
1.3 - Fixed a bug that allowed you to put a number as the first character in the title, thanks nezth
- Fixed possible crash
- Added new feature: automatically escapes non-standard characters (eg é), thanks Rainydaysz
1.2 - Fixed a bug with the coloured text
- Fixed a bug when trying to edit a "GotoSubmenu" action when that submenu was deleted
1.1 - Fixed a bug with removing actions then trying to edit another action above the removed one
- Fixed a tab count bug
1.0 - Initial release
Please don't PM me asking to fix, correct or look-over your scripts. Please post a new thread in the Lua Scripting section so others can learn and help.
1

#2 User is offline   martin197 

  • Member
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 25-January 09
  • Gender:Male
  • Location:Scotland
  • Interests:Going to partys and getiin wasted

Posted 10 January 2011 - 04:18 PM

Nice one dude :(
0

#3 User is offline   Fasthio 

  • Member
  • Pip
  • Group: Members
  • Posts: 39
  • Joined: 09-April 10
  • Gender:Male

Posted 10 January 2011 - 04:51 PM

Nice application.

I found a bug or two, if you for example press the "OnGossipBegin actions" button and add multiple "Do not show the main menu" and then deletes some of them an unhandled exception is thrown "Argument 'Key' is not a valid value"

The exception is not always thrown and I don't know what to do exactly to reproduce it.

If you manage to delete some of the items added and then double clicks one of the items in the list you'll get another unhandled exception "Argument 'Index' is not a valid value"


I also got a fancy dialogbox with what I thought looked like the callstack, if you want me to post it or if you can't reproduce the bugs then I'll be happy to post it.


I'm kinda tired and in a rush, but please tell me if you need more information, also good job on the application.
0

#4 User is offline   hypersniper 

  • Advanced Member
  • Group: Retired
  • Posts: 227
  • Joined: 21-November 08
  • Gender:Male

Posted 10 January 2011 - 05:14 PM

Ah thanks man, I did try to test it as much as possible but with source code as ugly as this thing's, it was bound to happen. Uploading update with that fixed now.
Please don't PM me asking to fix, correct or look-over your scripts. Please post a new thread in the Lua Scripting section so others can learn and help.
0

#5 User is offline   Fasthio 

  • Member
  • Pip
  • Group: Members
  • Posts: 39
  • Joined: 09-April 10
  • Gender:Male

Posted 11 January 2011 - 07:48 AM

You're welcome
0

#6 User is offline   hypersniper 

  • Advanced Member
  • Group: Retired
  • Posts: 227
  • Joined: 21-November 08
  • Gender:Male

Posted 17 January 2011 - 04:20 PM

Couple more bug fixes in 1.2
1.2 - Fixed a bug with the coloured text
- Fixed a bug when trying to edit a "GotoSubmenu" action when that submenu was deleted
Please don't PM me asking to fix, correct or look-over your scripts. Please post a new thread in the Lua Scripting section so others can learn and help.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users