This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kobiesan

Pages: [1] 2 3 ... 11
1
Level Design / Ground clutter on custom maps
« on: September 24, 2018, 06:10:01 am »
Wondering if anyone knows how to fix this?




2
Serverside Modding / How to restrict height of flying?
« on: July 10, 2018, 08:01:14 am »
I'm trying to make a hover spell that would allow you to fly but I want different ranks to let you fly to higher altitudes. How would I go about doing this?

3
I want to make a tabard that flashes different things but it needs to be able to switch textures every X amount of seconds. How would I do this?

4
Miscellaneous / What to do with my host and domain?
« on: March 05, 2018, 05:42:55 am »
Bought ovh vps host, bought name.com domain. What do I do with these? How do I use a cms? There aren't any good guides on these topics and am looking for help.

5
Serverside Modding / Code Redeemer Script problem
« on: February 26, 2018, 10:09:37 pm »
I'm using this code redeemer script but it has some issues. When I enter my passphrases it does not work unless I copy paste them. However, if the code is under 3 characters long I can manually enter it without copy pasting it and it will work. Does anyone know what's wrong?

Code: [Select]
--[[
        - Redeemer script:
       
        This script allows players to redeem predetermined
        passphrases given out during events etc.
       
        Passphrases are stored in its own table in the
        database, as well as the rewards that are tied to the
        said passphrase.
       
        Once a passphrase is redeemed, it will be marked as
        redeemed in the database, as well as what player
        redeemed it and date/time it was redeemed.
        The passphrase will then be unavailable for future use.'
       
       
        - Table structure query:
       
        DROP TABLE IF EXISTS `redemption`;
        CREATE TABLE `redemption` (
        `passphrase` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
        `type` int(32) NOT NULL DEFAULT '0',
        `entry` int(32) NOT NULL DEFAULT '0',
        `count` int(32) NOT NULL DEFAULT '0',
        `redeemed` int(32) NOT NULL DEFAULT '0',
        `player_guid` int(32) DEFAULT NULL,
        `date` varchar(32) DEFAULT NULL,
        PRIMARY KEY (`passphrase`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
       
        - Available types of code redemptions:
       
        1: Item -- entry = item entry, count = item count
        2: Title -- entry = title id, count = 0
        3: Money -- entry = 0, count = copper amount
]]
 
local Redeemer = {
        Entry = 44005
}
 
function Redeemer.LoadCache(event)
        Redeemer["Cache"] = {}
       
        local Query = CharDBQuery("SELECT * FROM redemption;");
        if(Query)then
                repeat
                        if(Query:GetUInt32(4) ~= 1) then
                                Redeemer["Cache"][Query:GetString(0)] = {
                                        -- passphrase
                                        rtype = Query:GetUInt32(1),
                                        entry = Query:GetUInt32(2),
                                        count = Query:GetUInt32(3)
                                        -- redeemed
                                        -- player_guid
                                        -- date
                                };
                        end
                until not Query:NextRow()
        end
end
 
function Redeemer.OnGossipHello(event, player, unit)
        player:GossipMenuAddItem(0, "I would like to redeem my secret code.", 0, 1, true, "Once a code is used it cannot be used anymore. Do you accept?")
        if(player:IsGM()) then
                player:GossipMenuAddItem(0, "Refresh passphrases.", 0, 2)
        end
        player:GossipSendMenu(1, unit)
end
 
function Redeemer.OnGossipSelect(event, player, object, sender, intid, code)
        if (intid == 1) then
                local sCode = tostring(code)
                if(Redeemer["Cache"][sCode]) then
                        local rtype, entry, count = Redeemer["Cache"][sCode]["rtype"], Redeemer["Cache"][sCode]["entry"], Redeemer["Cache"][sCode]["count"]
                        if(rtype == 1) then
                                player:AddItem(entry, count)
                        elseif(rtype == 2) then
                                player:SetKnownTitle(entry)
                        elseif(rtype == 3) then
                                player:ModifyMoney(count)
                        else
                                player:SendAreaTriggerMessage("ERROR: Redemption failed, wrong redemption type. Please report to developers.")
                                return;
                        end
                       
                        player:SendAreaTriggerMessage("Congratulations! Your code has been successfully redeemed!.")
                        CharDBExecute("UPDATE redemption SET redeemed=1, player_guid="..player:GetGUIDLow()..", date='"..os.date("%x, %X", os.time()).."' WHERE BINARY passphrase='"..sCode.."';");
                        Redeemer["Cache"][sCode] = nil;
                else
                        player:SendAreaTriggerMessage("You have entered an invalid code, or code has already been redeemed.")
                end
        elseif(intid == 2) then
                Redeemer.LoadCache()
                player:SendAreaTriggerMessage("Available passphrases have been refreshed.")
        end
        player:GossipComplete()
end
 
RegisterServerEvent(14, Redeemer.LoadCache)
RegisterCreatureGossipEvent(Redeemer.Entry, 1, Redeemer.OnGossipHello)
RegisterCreatureGossipEvent(Redeemer.Entry, 2, Redeemer.OnGossipSelect)

6
"Retro-Porting" / Tyrael's Charger problem
« on: February 18, 2018, 06:01:11 am »
I am trying to put Tyrael's Charger in 3.3.5a but it shows up like this?



Any ideas?

7
Serverside Modding / Adding new recipes to profession link list?
« on: February 15, 2018, 07:24:52 am »
I made new recipes for enchanting but they don't appear in the list of known enchantments when you link your profession in chat. Anyone know a fix?

8
Recruitment / Recruiting spell visual editors
« on: February 09, 2018, 09:57:57 pm »
Hello everyone, I'm the owner of Planet Io (a custom level 10 twink server) and I'm looking for people who can redesign existing spells with new cosmetics. This includes things like just changing the colors or an entirely new (but similar) effect.

See this youtube playlist for examples:


If you are interested, message me on Discord Kobiesan#7921

9
Modelling and Animation / Re: Making sprint trail longer?
« on: February 07, 2018, 10:54:24 pm »
that dropdown doesnt have edgelifetime or anything that seems relevant

It's quite intuitive, to be honest. You are not paying attention. There is an option called length (it's under "res"). It's self explanatory and quite relevant to me. If you increase the number, the ribbon will be longer.



Don't be afraid to play with the numbers. Trial and error. That's how we all learned here.

Ahh nice. Thank you.

10
Modelling and Animation / Re: Making sprint trail longer?
« on: February 07, 2018, 05:31:25 pm »
It doesn't have a dropdown? How do I edit it?





that dropdown doesnt have edgelifetime or anything that seems relevant

11
Modelling and Animation / Re: Making sprint trail longer?
« on: February 07, 2018, 04:00:02 pm »
Uh, that screenshot says that it _does_ have a ribbon emitter?!

It doesn't have a dropdown? How do I edit it?

12
Modelling and Animation / Re: Making sprint trail longer?
« on: February 07, 2018, 02:17:04 am »

13
Modelling and Animation / Re: Making sprint trail longer?
« on: February 06, 2018, 06:44:23 pm »
I would try edgeLifetime. https://wowdev.wiki/M2#Ribbon_emitters

RibbonTrail.m2 doesn't have a ribbon_emitter row

14
Modelling and Animation / Making sprint trail longer?
« on: February 06, 2018, 04:44:00 am »
I'm editing ribbontrail.m2 which is what sprint uses. I'm trying to make the trail last longer but I can't seem to find the correct field. Does anyone know?

15
Serverside Modding / Re: Spell problem
« on: February 05, 2018, 11:27:27 pm »
bump

Pages: [1] 2 3 ... 11