Forum: Hello and Goodbyes
01-29-2014, 11:06 PM
|
|
Replies: 8
Views: 1,592
|
Forum: Bug Report
01-29-2014, 01:56 AM
|
|
Replies: 3
Views: 11,261
|
Forum: Bug Report
01-27-2014, 09:41 PM
|
|
Replies: 9
Views: 12,521
|
Forum: Tech Support
01-24-2014, 11:07 PM
|
|
Replies: 25
Views: 5,473
|
Forum: New Scripting Engine (GS2)
01-24-2014, 08:50 PM
|
|
Replies: 76
Views: 15,790
|
Forum: NPC Scripting
01-24-2014, 05:25 PM
|
|
Replies: 7
Views: 2,051
HSL and RGB are the means to the same end.
...
HSL and RGB are the means to the same end.
Go into MSPaints color picker and play with it, you'll notice when you change any of the HSL values it changes the RGB and vice versa.
So when you...
|
Forum: NPC Scripting
01-24-2014, 03:37 PM
|
|
Replies: 7
Views: 2,051
HSL can be used to find RGB, and vice versa.
...
HSL can be used to find RGB, and vice versa.
So convert HSL to RGB:
http://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
I think someone wrote a function but you should be...
|
Forum: New Scripting Engine (GS2)
01-23-2014, 09:59 PM
|
|
Replies: 76
Views: 15,790
function...
function Tools.onSelect(entryid,entrytext,entryindex) {
// use entryid, entrytext, or entryindex however you want
echo("Clicked " @ entrytext);
}
|
Forum: New Scripting Engine (GS2)
01-23-2014, 02:39 AM
|
|
Replies: 14
Views: 3,139
|
Forum: NPC Scripting
01-22-2014, 05:13 AM
|
|
Replies: 6
Views: 2,464
These are the two functions I wrote:
...
These are the two functions I wrote:
public function actualtimevar2(tv) {
// For converting real epoch timestamps to
// server's timevar2.
temp.offset = (60 * 6) - 12;
return tv -...
|
Forum: New Scripting Engine (GS2)
01-22-2014, 05:00 AM
|
|
Replies: 14
Views: 3,139
You would use: {{"str",1},{"dex",2}}
Using...
You would use: {{"str",1},{"dex",2}}
Using an array would make it harder to query against for statistical purposes, but if it's just being used to load/save then you would be fine doing it that...
|
Forum: New Scripting Engine (GS2)
01-22-2014, 01:25 AM
|
|
Replies: 14
Views: 3,139
Yep, using a separate table would be the more...
Yep, using a separate table would be the more 'normalized' way to do it though. You could have a 100 enchantments for the same item if you wanted.
The tricky part is deciding how you want to query...
|
Forum: New Scripting Engine (GS2)
01-21-2014, 09:37 PM
|
|
Replies: 14
Views: 3,139
That's how I would do it, except call it mods,...
That's how I would do it, except call it mods, store it as an array, and parse the array when the item is loaded to apply it to the item/clientr flags.
You could put enchantments in it's own table...
|
Forum: New Scripting Engine (GS2)
01-21-2014, 03:29 AM
|
|
Replies: 14
Views: 3,139
|
Forum: Server Maintenance
01-18-2014, 07:59 PM
|
|
Replies: 5
Views: 15,468
|
Forum: Era Main Forum
01-18-2014, 07:09 PM
|
|
Replies: 12
Views: 7,304
|
Forum: Delteria News
01-16-2014, 04:44 AM
|
|
Replies: 24
Views: 12,518
|
Forum: Delteria News
01-15-2014, 04:04 AM
|
|
Replies: 24
Views: 12,518
Because it's only on Facebook. It would have a...
Because it's only on Facebook. It would have a better playercount (similar to iZone likely) if it was on iOS/Android.
The best they can do now is fix the server and get it ready for an iOS/Android...
|
Forum: NPC Scripting
01-12-2014, 02:24 AM
|
|
Replies: 7
Views: 1,973
|
Forum: NPC Scripting
01-11-2014, 08:22 PM
|
|
Replies: 7
Views: 1,973
It's just triggerserver. also since you're...
It's just triggerserver. also since you're looping go through and add the players to an array and send that to the serverside instead of 1 or more triggers.
In theory all you should need is:
...
|
Forum: Future Improvements
01-09-2014, 01:51 AM
|
|
Replies: 6
Views: 3,249
|
Forum: Code Gallery
12-27-2013, 03:09 AM
|
|
Replies: 25
Views: 10,275
|
Forum: Code Gallery
12-27-2013, 02:16 AM
|
|
Replies: 25
Views: 10,275
|
Forum: Era Main Forum
12-24-2013, 03:24 AM
|
|
Replies: 18
Views: 11,228
|
Forum: New Scripting Engine (GS2)
12-22-2013, 04:07 PM
|
|
Replies: 8
Views: 3,019
You shouldn't need to use putnpc2. You should...
You shouldn't need to use putnpc2. You should have one vendor NPC, and when they touch/click or whatever to open the shop window, it determines the items that they're selling and triggerclient's to...
|