If I'm not asking too much, could you upload your finder icon shader please? I only have 1.3 installed, I'd like to see how it is. The code works well.
Editted amazing...
#0 vB_Database->__construct(vB_Registry Object ([datastore] => ,[input] => vB_Input_Cleaner Object ([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid,[u] => userid,[a] => announcementid,[c] => calendarid,[e] => eventid,[q] => query,[pp] => perpage,[page] => pagenumber,[sort] => sortfield,[order] => sortorder),[superglobal_lookup] => Array ([g] => _GET,[p] => _POST,[r] => _REQUEST,[c] => _COOKIE,[s] => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath] => ,[reloadurl] => ,[wolpath] => ,[url] => ,[ipaddress] => ,[alt_ip] => ,[registry] => vB_Registry Object ( *RECURSION*,[cleaned_vars] => Array ()),[db] => ,[userinfo] => ,[session] => ,[csrf_skip_list] => Array (),[config] => Array ([Database] => Array ([dbtype] => mysqli,[dbname] => k_forum,[tableprefix] => ,[technicalemail] => dbmaster@example.com,[force_sql_mode] => ),[MasterServer] => Array ([servername] => localhost,[port] => 3306,[username] => k_forum,[password] => a9s8d723jalsdj,[usepconnect] => 0),[SlaveServer] => Array ([servername] => ,[port] => 3306,[username] => ,[password] => ,[usepconnect] => 0),[Misc] => Array ([admincpdir] => admincp,[modcpdir] => modcp,[cookieprefix] => bb,[forumpath] => ,[memcacheserver] => Array ([1] => 127.0.0.1),[memcacheport] => Array ([1] => 11211),[memcachepersistent] => Array ([1] => 1),[memcacheweight] => Array ([1] => 1),[memcachetimeout] => Array ([1] => 1),[memcacheretry_interval] => Array ([1] => 15),[maxwidth] => 2592,[maxheight] => 1944),[SpecialUsers] => Array ([canviewadminlog] => 1,[canpruneadminlog] => 1,[canrunqueries] => ,[undeletableusers] => ,[superadministrators] => 1),[Datastore] => Array ([class] => vB_Datastore_Memcache),[Mysqli] => Array ([ini_file] => )),[GPC] => Array (),[GPC_exists] => Array (),[superglobal_size] => Array ([_GET] => 2,[_POST] => 0,[_REQUEST] => 2,[_COOKIE] => 0,[_SERVER] => 56,[_ENV] => 0,[_FILES] => 0),[ipaddress] => 18.217.181.166,[alt_ip] => 18.217.181.166,[scriptpath] => /showthread.php?2009-Fire-direction-angles/page3,[basepath] => ,[wolpath] => /showthread.php?2009-Fire-direction-angles/page3,[script] => /showthread.php,[url] => ,[bf_ugp] => ,[bf_ugp_adminpermissions] => ,[bf_ugp_calendarpermissions] => ,[bf_ugp_forumpermissions] => ,[bf_ugp_genericoptions] => ,[bf_ugp_genericpermissions] => ,[bf_ugp_pmpermissions] => ,[bf_ugp_wolpermissions] => ,[bf_ugp_visitormessagepermissions] => ,[bf_misc] => ,[bf_misc_calmoderatorpermissions] => ,[bf_misc_forumoptions] => ,[bf_misc_intperms] => ,[bf_misc_languageoptions] => ,[bf_misc_moderatorpermissions] => ,[bf_misc_useroptions] => ,[bf_misc_hvcheck] => ,[options] => ,[attachmentcache] => ,[avatarcache] => ,[birthdaycache] => ,[eventcache] => ,[forumcache] => ,[iconcache] => ,[markupcache] => ,[stylecache] => ,[languagecache] => ,[smiliecache] => ,[usergroupcache] => ,[bbcodecache] => ,[socialsitecache] => ,[cron] => ,[mailqueue] => ,[banemail] => ,[maxloggedin] => ,[pluginlist] => ,[products] => ,[ranks] => ,[statement] => ,[userstats] => ,[wol_spiders] => ,[loadcache] => ,[noticecache] => ,[prefixcache] => ,[bbcode_style] => Array ([code] => -1,[html] => -1,[php] => -1,[quote] => -1),[templatecache] => Array (),[iforumcache] => Array (),[versionnumber] => ,[nozip] => ,[debug] => ,[noheader] => ,[stylevars] => ,[shutdown] => vB_Shutdown Object ([ * callbacks] => ),[vbcms] => Array (),[apiclient] => Array (),[reloadurl] => /showthread.php?2009-Fire-direction-angles/page3&s=211171b52ca7cbc44f74789d7bfe8010,[adsense_pub_id] => ,[adsense_host_id] => )) called at [/var/www/forum/includes/init.php:169] #1 require_once(/var/www/forum/includes/init.php) called at [/var/www/forum/includes/class_bootstrap.php:101] #2 vB_Bootstrap->init() called at [/var/www/forum/includes/class_bootstrap.php:72] #3 vB_Bootstrap->bootstrap() called at [/var/www/forum/global.php:35] #4 require_once(/var/www/forum/global.php) called at [/var/www/forum/showthread.php:107]
If I'm not asking too much, could you upload your finder icon shader please? I only have 1.3 installed, I'd like to see how it is. The code works well.
Editted amazing...
Last edited by guiismiti; 11th June 2015 at 01:26.
set logfile 2
guiismiti (11th June 2015)
serthy (11th June 2015)
Indeed, it is only available in SP. But it might be possible to port it to MP.
Edit: isn't in SP either. I posted the wrong function.. (for turret).
COD4
COD2 turrent setTargetEntity (not a hud function, oops).PHP Code:
int __cdecl sub_808F8EA(int a1)
{
int *v1; // ebx@2
int result; // eax@3
char v3; // [sp+8h] [bp-10h]@0
if ( HIWORD(a1) == 1 )
{
v1 = &dword_8335620[43 * (unsigned __int16)a1];
}
else
{
sub_815F134("not a hud element");
v1 = 0;
}
result = sub_80C76EC(0);
v1[4] = *(_DWORD *)result;
if ( !(*(_BYTE *)(result + 246) & 0x10) )
result = sub_81228D4(
15,
"SetTargetEnt() called on a non-broadcasting entity, may not show in client snapshots.",
v3);
return result;
}
PHP Code:
int __cdecl GScr_SetTargetEntity(int a1)
{
char *v1; // ebx@2
int v2; // ebx@3
int result; // eax@3
char v4; // al@5
int v5; // eax@5
int v6; // ebx@5
if ( HIWORD(a1) )
{
Scr_ObjectError("not an entity");
v1 = 0;
if ( v10C )
goto LABEL_3;
}
else
{
v1 = (char *)&g_entities + 508 * (unsigned __int16)a1;
if ( *((_DWORD *)v1 + 67) )
{
LABEL_3:
v2 = *((_DWORD *)v1 + 67);
result = Scr_GetEntity(0);
*(_DWORD *)(v2 + 16) = result;
return result;
}
}
v4 = SL_ConvertToString(*((_WORD *)v1 + 140));
v5 = va("entity type '%s' is not a turret", v4);
Scr_Error(v5);
v6 = *((_DWORD *)v1 + 67);
result = Scr_GetEntity(0);
*(_DWORD *)(v6 + 16) = result;
return result;
}
serthy (11th June 2015)
filthy_freak_ (11th June 2015)
https://.../libcod/binaries.7z
Contains both 1.0 binary for MP and SP.
filthy_freak_ (12th June 2015)
Changing topic again, but still with the AC-130, not sure if I can solve this one.
I simply like the fire sounds from COD4, but I can't find them.
I know I can find the regular weapon sounds in the mod tools, but not the AC-130.
I found this, in a sound aliases file (common.csv) from the mod tools:
Tried googling the wav file names, no success.Code:#AC-130 Weapon Sounds,,,,,,,,,,,,,,,,,,,,,,, ac130_gunready,,null.wav,1,1,na,,,750,12000,auto,,,,0.9,ac130,,,,,,,, ac130_25mm_fire,,ac130/ac130_25mm_fire_rev01sh2.wav,0.37,0.37,explosion,0.7,0.7,11500,12000,weapon2d,,,,0.9,ac130,,,,,,ac130weapon,,0.3 #ac130_25mm_fire,,ac130/ac130_25mm_fire_rev01sh2.wav,0.18,0.18,explosion,1.1,1.1,11500,12000,weapon2d,,,,0.9,ac130,,,,,,,,0.1 ac130_40mm_fire,,ac130/ac130_40mm_fire_c2.wav,0.75,0.8,explosion,0.85,0.95,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_40mm_reload,,,ac130weapon,,0.5 #ac130_40mm_fire,,weapons/test/ac130_40mm_fire_d1.wav,1,1,explosion,0.85,0.95,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_40mm_reload,,,,,0.2 #ac130_40mm_fire,,weapons/50cal/weap_50cal_temp_v2.wav,1,1,explosion,0.9,0.9,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_40mm_reload,,,,,0.2 #ac130_40mm_fire,,ac130/ac130_40mm_fire_rev01.wav,0.21,0.21,explosion,1.25,1.35,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_40mm_reload,,,,,0.2 ac130_105mm_fire,,ac130/ac130_105canon_fire.wav,0.45,0.45,explosion,0.7,0.8,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_105mm_reload,,,ac130weapon,,0.65 #ac130_105mm_fire,,ac130/ac130_105canon_fire.wav,0.2,0.2,explosion,0.7,0.8,11500,12000,weapon2d,,,,0.9,ac130,,,ac130_105mm_reload,,,,,0.4 ac130_40mm_reload,,ac130/ac130_40mm_reload.wav,0.3,0.3,explosion,0.95,1.05,11500,12000,reload2d,,,,0.9,ac130,,,,,1000,ac130weapon,, #ac130_40mm_reload,,ac130/ac130_40mm_reload.wav,0.12,0.12,explosion,0.95,1.05,11500,12000,reload2d,,,,0.9,ac130,,,,,1000,,, ac130_105mm_reload,,ac130/ac130_105canon_reload.wav,0.7,0.7,explosion,0.9,0.9,11500,12000,reload2d,,,,0.9,ac130,,,,,2000,ac130weapon,, #ac130_105mm_reload,,ac130/ac130_105canon_reload.wav,0.12,0.12,explosion,0.95,1.05,11500,12000,reload2d,,,,0.9,ac130,,,,,2000,,, ac130_weapon_switch,,user_interface/ui_text_beep1.wav,0.25,0.25,vehicle,1.5,1.6,500000,,local2,,,,0.9,ac130,,,,,,,,
Anybody has any idea? It should be ripped somewhere.
set logfile 2
wav files are compiled into the .ff and as far as i know there is no way to extract them again (unless you record them ingame ofcourse)
For stock sounds you could look in the raw/sound folder, but there is no ac130 folder in there
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem