Search found 53 matches
- Sun Feb 21, 2016 1:26 am
- Forum: Scripting
- Topic: Creating a custom augment NPC
- Replies: 20
- Views: 27029
Re: Creating a custom augment NPC
I would figure so too since it would assume a nil value, but after many attempts the only way I could get it to work was by manually adding in the 0 to account for every argument to be passed. If it works for most people great, but I was just throwing it out there for anyone that ran into probs like...
- Mon Feb 15, 2016 8:05 pm
- Forum: Scripting
- Topic: Creating a custom augment NPC
- Replies: 20
- Views: 27029
Re: Creating a custom augment NPC
Just wanted to throw out a quick update on this in case people can't get this to work. Because luabaseentity.cpp is now looking for an 11th integer (for trials): if (!lua_isnil(L, 11) && lua_isnumber(L, 11)) trialNumber = (uint16)lua_tointeger(L, 11); This will not work because it only contains 10 v...
- Wed Feb 03, 2016 12:10 am
- Forum: Troubleshooting
- Topic: Query SQL Tables from Web Server
- Replies: 5
- Views: 3292
Re: Query SQL Tables from Web Server
Thank you for all the replies. Apologies - I completely forgot to check in on this. Turns out my web host didn't allow remote SQL connections, so I actually switched web hosts to the same company that hosts my game server. Got the player list working on my website, now I'm just trying to figure out ...
- Fri Jan 22, 2016 4:09 pm
- Forum: Troubleshooting
- Topic: Query SQL Tables from Web Server
- Replies: 5
- Views: 3292
Query SQL Tables from Web Server
Sorry in advance if I posted this under the wrong forum, I couldn't really find a category to throw it under... I've seen a few servers that offer a way to manage auction house listings and lookup monster/item information. I know all of this is done through PHP and accessing their MySQL database tab...
- Sun Jan 03, 2016 5:27 pm
- Forum: Scripting
- Topic: Custom PrintToPlayer/PrintToServer Stuff
- Replies: 26
- Views: 16264
Re: Custom PrintToPlayer/PrintToServer Stuff
Sure did. I have the text colors working fine, it's just not wanting to print anything when a user logs in. For testing purposes I used PrintToPlayer, which is standard in the header file to begin with. I'll have to play with it some more tomorrow... It's really not a big deal since I can just updat...
- Sun Jan 03, 2016 12:25 pm
- Forum: Scripting
- Topic: Custom PrintToPlayer/PrintToServer Stuff
- Replies: 26
- Views: 16264
Re: Custom PrintToPlayer/PrintToServer Stuff
Reviving this old topic... I cannot get this to work for some reason: player:PrintToServer(string.format("The character %s has logged in...", player:getName()), 0x1C); Tried simplifying the message to just get something to pop up when a user logs in. This is how I have it inserted into the onGameIn ...
- Tue Nov 10, 2015 9:59 am
- Forum: Scripting
- Topic: Introducing Pauses Between System Messages
- Replies: 3
- Views: 2942
Re: Introducing Pauses Between System Messages
Got the dialogue text looking a lot better with Tagban's guide... But what about pauses between PrintToPlayer strings? Anyone have a solution or workaround? I'm trying to get custom NPC dialogue to appear more like retail events, where progression in the dialogue requires an input from the player (e...
- Mon Nov 09, 2015 11:21 am
- Forum: Scripting
- Topic: Introducing Pauses Between System Messages
- Replies: 3
- Views: 2942
Re: Introducing Pauses Between System Messages
Ah yes, I was looking at that a little while ago. I'll play around with it later and see what I can do. Thanks for the response!
- Mon Nov 09, 2015 8:39 am
- Forum: Scripting
- Topic: Introducing Pauses Between System Messages
- Replies: 3
- Views: 2942
Introducing Pauses Between System Messages
I have several PrintToPlayer messages coded for custom NPC's. A lot of text dialogue will fill up the the player's chat screen instantaneously. Is there a way to space this out to where I could introduce pauses in between strings of PrintToPlayer lines? Or better yet, is there a way to require input...
- Sun Nov 08, 2015 12:41 pm
- Forum: Scripting
- Topic: Function for Prior Position
- Replies: 2
- Views: 2870
Re: Function for Prior Position
Thank you for the response, KJ. I don't know how to translate an entire position to a char variable just yet but I think I have an idea based on some strings I've seen in other lua files though...
I'll play around with it to see if I can do it before asking how.
I'll play around with it to see if I can do it before asking how.