Raised This Month: $32 Target: $400
 8% 

Pinion Adverts [Video Ads + Steam Community]


Post New Thread Reply   
 
Thread Tools Display Modes
pixl
Junior Member
Join Date: Sep 2016
Old 09-05-2016 , 17:29   Re: Pinion Adverts [HTML5]
Reply With Quote #341

I'm on v1.8 build 5928, which is probably why it doesn't work for you.

In the switch statement, you have to add those two lines. I attached a screenshot.
Attached Thumbnails
Click image for larger version

Name:	pinion.png
Views:	138
Size:	16.0 KB
ID:	157267  
pixl is offline
juss
Senior Member
Join Date: Jan 2016
Old 09-05-2016 , 17:43   Re: Pinion Adverts [HTML5]
Reply With Quote #342

just did the hard part

now I'm on SourceMod Version: 1.8.0.5928 and your smx working now
juss is offline
juss
Senior Member
Join Date: Jan 2016
Old 09-05-2016 , 17:58   Re: Pinion Adverts [HTML5]
Reply With Quote #343

Quote:
Originally Posted by pixl View Post
I'm on v1.8 build 5928, which is probably why it doesn't work for you.

In the switch statement, you have to add those two lines. I attached a screenshot.

Yep , i see

I'll stick with your version , obviously its the same. <3

can you also help me with how this whole thing works ... so player join the server and motd pops up as usual ,,, what i see is black window on top it says reward your something .. then after 5 sec it pops up i guess ads ,, now is it should pop motd in any other situation like on start round or end round or on death since i see it in cfg , or just when players joining the server ... right now i have set in pinion cfg sm_pinion_adverts_review "2" which is show on round end , i don't see it showing me anything on round end or start or death but only when i join server

when i join first i see this:


and after like 3 seconds i see this:
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2016-09-06 at 2.07.17 AM.png
Views:	338
Size:	60.3 KB
ID:	157269  

Last edited by juss; 09-05-2016 at 18:07.
juss is offline
pixl
Junior Member
Join Date: Sep 2016
Old 09-05-2016 , 18:13   Re: Pinion Adverts [HTML5]
Reply With Quote #344

I have the review disabled on my servers, so I'm not 100% sure about the functionality. Are you waiting the 20min (default length) and then doing the end of the round? If not, I don't believe it will show the ad until it has reached that time limit.
pixl is offline
juss
Senior Member
Join Date: Jan 2016
Old 09-05-2016 , 18:19   Re: Pinion Adverts [HTML5]
Reply With Quote #345

Quote:
Originally Posted by pixl View Post
I have the review disabled on my servers, so I'm not 100% sure about the functionality. Are you waiting the 20min (default length) and then doing the end of the round? If not, I don't believe it will show the ad until it has reached that time limit.
okay , thats good to know , so the ad pops up only after 20 mins player playing on server? and how its gonna happen depends on settings in pinion cfg sm_pinion_adverts_review "2"? what the best way ? on death ? i just don't want player to be annoyed , how do you show yours ?

and how can i turn of review ? on a site - check "Never show an ad when a player first connects." ? or its on pinion cfg - // Set to 0 to hide messages about the RewardMe command sm_pinion_adverts_chat_advert "0" - if its on pinion cfg i set it to 0 but still getting the reward message as on screen above

Im sorry if I'm bothering you , I'm just trying to figure this out and you already have knowledge on that , I'm really appreciated your help <3

Last edited by juss; 09-05-2016 at 18:26.
juss is offline
pixl
Junior Member
Join Date: Sep 2016
Old 09-05-2016 , 18:35   Re: Pinion Adverts [HTML5]
Reply With Quote #346

I have mine disabled since I find the review annoying, so the best way just depends on you. I'd either say round or death. Possibly death so it hopefully doesn't continue into the next round. To disable completely, change sm_pinion_adverts_review to 0.
pixl is offline
juss
Senior Member
Join Date: Jan 2016
Old 09-06-2016 , 02:08   Re: Pinion Adverts [HTML5]
Reply With Quote #347

Hm - is it normal? when in game (for my example as i set it to show ad after death) it pops up black window , then after a couple of seconds it says click to continue on top of left corner of that black screen , after i click nothing happends just black window, so i assume it doesnt show ads, and sure i can close in by clicking on X, also when i join server same thing except black window (motd) has sing on top that says claim your rewards (in purple) and 3 sec later its open a site where i can claim my rewards (which i dont even know what it is)

are those necessary??
<FAILED> file "steamtools.ext.so":
<FAILED> file "curl.ext.so":

Last edited by juss; 09-06-2016 at 03:30.
juss is offline
pixl
Junior Member
Join Date: Sep 2016
Old 09-06-2016 , 13:07   Re: Pinion Adverts [HTML5]
Reply With Quote #348

I have not used the review, so I am not sure if that's normal or not, but I would assume not. Maybe it would be best in that case to file a ticket with Pinion since they would be able to answer your question best.

One of the following is required: SteamWorks, cURL, SteamTools (Not supported in CSGO), or Socket. So, if you have one of the four running successfully, you should be OK.

Last edited by pixl; 09-06-2016 at 13:07.
pixl is offline
juss
Senior Member
Join Date: Jan 2016
Old 09-06-2016 , 14:03   Re: Pinion Adverts [HTML5]
Reply With Quote #349

Quote:
Originally Posted by pixl View Post
I have not used the review, so I am not sure if that's normal or not, but I would assume not. Maybe it would be best in that case to file a ticket with Pinion since they would be able to answer your question best.

One of the following is required: SteamWorks, cURL, SteamTools (Not supported in CSGO), or Socket. So, if you have one of the four running successfully, you should be OK.

all extensions my csgo servers has:
[SM] Displaying 15 extensions:
[01] Automatic Updater (1.8.0.592: Updates SourceMod gamedata files
[02] Webternet (1.8.0.592: Extension for interacting with URLs
[03] CS Tools (1.8.0.592: CS extended functionality
[04] BinTools (1.8.0.592: Low-level C/C++ Calling API
[05] SDK Tools (1.8.0.592: Source SDK Tools
[06] Top Menus (1.8.0.592: Creates sorted nested menus
[07] Client Preferences (1.8.0.592: Saves client preference settings
[08] SQLite (1.8.0.592: SQLite Driver
[09] SDK Hooks (1.8.0.592: Source SDK Hooks
[10] <FAILED> file "steamtools.ext.so": /home/hiden/hiden/hiden/hiden/hiden/addons/sourcemod/extensions/steamtools.ext.so: cannot open shared object file: No such file or directory
[11] SteamWorks Extension (1.2): Exposes SteamWorks functions to Developers
[12] <FAILED> file "curl.ext.so": /home/hiden/hiden/hiden/hiden/hiden/addons/sourcemod/extensions/curl.ext.so: undefined symbol: _ZNSs9_M_mutateEjjj
[13] Socket (3.0.1): Socket extension for SourceMod
[14] MySQL-DBI (1.8.0.592: MySQL driver implementation for DBI
[15] Regex (1.8.0.592: Provides regex natives for plugins

Last edited by juss; 09-06-2016 at 14:04.
juss is offline
pixl
Junior Member
Join Date: Sep 2016
Old 09-06-2016 , 14:25   Re: Pinion Adverts [HTML5]
Reply With Quote #350

You have Socket and SteamWorks, so the plugin should work.

As for cURL, you can check out: https://forums.alliedmods.net/showth...152216&page=19 -- Seems the issue you're having is know and there's a fix in that thread.
pixl is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode