[Request] Pumaa Glow

01/22/2013 13:52 Rhyder`#1
can give me the code of applet and resdatas of pumaa glow


i used v16 paramater
01/23/2013 10:50 ThoughtfulDev#2
Code:
APP_GLOW_SHOP "WndGlowShop.tga" "" 0 224 464 0x2410000 26
{
// Title String
"Glow Shop"
}
{
// Help Key
""
}
{
    WTYPE_BUTTON WIDC_OK "ButOk2.bmp" -842150451 26 404 98 424 0x220010 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_BUTTON WIDC_CANCEL "ButCancel2.bmp" 0 108 404 180 424 0x220010 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_STATIC WIDC_COST "" 0 128 368 196 384 0x2260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_STATIC WIDC_STATIC7 "" -842150451 26 368 112 386 0x2260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_BUTTON WIDC_BUTTON1 "reset.bmp" -842150451 64 252 136 272 0x220010 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_STATIC WIDC_CUSTOM5 "" -842150451 28 54 180 174 0x2260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_STATIC WIDC_STATIC4 "" 0 511 -370 607 -354 0x2220000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_STATIC WIDC_STATIC8 "" 0 139 -376 235 -360 0x2220000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_CUSTOM WIDC_ "" 0 26 46 184 242 0x260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_CUSTOM WIDC_CUSTOM_R "" 0 44 294 164 310 0x260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_CUSTOM WIDC_CUSTOM_G "" 0 44 316 164 332 0x260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
    WTYPE_CUSTOM WIDC_CUSTOM_B "" 0 44 334 164 350 0x260000 0 0 0 0 25 025 112
    {
    // Title String
""
    }
    {
    // ToolTip
""
    }
}
01/23/2013 11:45 Rhyder`#3
Dude when i press hotkey i get dc how to fix?
01/23/2013 12:29 ThoughtfulDev#4
just use it as a menu at a NPC,.....
AddMenu( MMI_GLOWSHOP );
for menu dont forget the entries(defineneuz.h,textclient.inc/.txt.txt)
01/23/2013 12:37 Lumi#5
Quote:
Originally Posted by jayjei14 View Post
Dude when i press hotkey i get dc how to fix?
any errors?
01/23/2013 12:37 Rhyder`#6
Quote:
Originally Posted by Shonenx33 View Post
just use it as a menu at a NPC,.....
AddMenu( MMI_GLOWSHOP );
for menu dont forget the entries(defineneuz.h,textclient.inc/.txt.txt)
Can you give me the defineneuz.h ,textclient.inc and .txt.tx please :(
01/23/2013 13:06 ThoughtfulDev#7
oh man srysly?
defineNeuz.h
Code:
MAX_MOVER_MENU
increase this definenumber by one
than add
Code:
#define MMI_GLOWSHOP		240
Before the Max_mover...
change the 240 to the number to MAX_MOVER_MENU was before.

save this

textclient.inc
add
Code:
TID_MMI_GLOWSHOP 0xffffffff
{
	IDS_TEXTCLIENT_INC_003935
}
at the end

save

open textclient.txt.txt
Code:
IDS_TEXTCLIENT_INC_003935	Glow Shop
save, finish
01/23/2013 13:20 Rhyder`#8
Quote:
Originally Posted by Lumi' View Post
any errors?


No i dont get error on log

it will get dc when i press the hotkey maybe the applet code is incorrect
01/23/2013 13:23 ThoughtfulDev#9
just post your FuncApplet.cpp code.....

and just use it as a menu Entry ... "tutorial" above
01/23/2013 13:24 Rhyder`#10
Quote:
Originally Posted by Shonenx33 View Post
oh man srysly?
defineNeuz.h
Code:
MAX_MOVER_MENU
increase this definenumber by one
than add
Code:
#define MMI_GLOWSHOP		240
Before the Max_mover...
change the 240 to the number to MAX_MOVER_MENU was before.

save this

textclient.inc
add
Code:
TID_MMI_GLOWSHOP 0xffffffff
{
	IDS_TEXTCLIENT_INC_003935
}
at the end

save

open textclient.txt.txt
Code:
IDS_TEXTCLIENT_INC_003935	Glow Shop
save, finish

how to make it using hotkey to popup the glow change?
01/23/2013 13:27 ThoughtfulDev#11
are you dont able to READ?!

first try it as a NPC menu entry and pls post your FuncApplet.cpp entrys of Glow Change
01/23/2013 13:28 Rhyder`#12
Quote:
Originally Posted by Shonenx33 View Post
just post your FuncApplet.cpp code.....

and just use it as a menu Entry ... "tutorial" above


To bind the GlowShop on a Hotkey:
_Interface/FuncApplet.cpp
In the head
Code:
DECLAREAPPLET ( AppMain_GlowShop , new CWndGlowShop ); at the bottom before the }
Code:
AddAppletFunc ( AppMain_GlowShop , APP_GLOW_SHOP , _T ( "WndGlowShop" ) , _T ( "Icon_Housing.dds" ) , GETTEXT ( TID_GAME_HOUSING_BOX ), 'C' );


i follow your post on release section but when i press c button get dc

please make me a applet thanks
01/23/2013 18:02 raventh1984#13
If you crash then you will also get an error log.
So check your error logs. And post it here.
Dont expect to spoon feed it all. Otherwise you wont learn anything in c++.

If you want to set up an p-server then you also need to have some basic skills.
And yes that includes also my release on diff forum. Dont copy paste it everwhere and expect it to work.

With kind regards,
Loky