What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

after eb update. it is now unwork.

Cannot load [AlerterReloaded] because an exception occurred [D:\xxoo\0juedou\3rdParty\_CONFIGS_\Default\AlerterReloaded\Content-96437453\Classes\Alerter.cs(79,69) : error CS1061: 'LokiPoe.InGameState.ChatPanel.ChatEntry' does not contain a definition for 'Sender' and no extension method 'Sender' accepting a first argument of type 'LokiPoe.InGameState.ChatPanel.ChatEntry' could be found (are you missing a using directive or an assembly reference?)
].
System.Exception: D:\xxoo\0juedou\3rdParty\_CONFIGS_\Default\AlerterReloaded\Content-96437453\Classes\Alerter.cs(79,69) : error CS1061: 'LokiPoe.InGameState.ChatPanel.ChatEntry' does not contain a definition for 'Sender' and no extension method 'Sender' accepting a first argument of type 'LokiPoe.InGameState.ChatPanel.ChatEntry' could be found (are you missing a using directive or an assembly reference?)

at Loki.Bot.ThirdPartyLoader.?????????????????????????????????????????(Dictionary`2 , String )
 
in Alerter.cs
replace
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.Sender, chatEntry.Message);
to
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.RemoteName, chatEntry.Message);
 
in Alerter.cs
replace
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.Sender, chatEntry.Message);
to
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.RemoteName, chatEntry.Message);

This worked for me.
 
in Alerter.cs
replace
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.Sender, chatEntry.Message);
to
Code:
ProcessChatMessage(chatEntry.MessageType, chatEntry.RemoteName, chatEntry.Message);

This worked, thanks.
 
Having Pushover working was a must for me and using this bot. I got it working, but I'm reluctant to post a fix. I'm definitely no coder, but I can debug pretty decent. I will explain what I did at the least. If this fix breaks a multitude of other things, it's worth it for me, but may not for you. Again, I'm reluctant to post what I did to get it working. Use at your own peril.

Pushover does not require a priority be sent with the message. Knowing that, I edited "CommunityLib 0.0.0.6/Notifications.cs" in the function "public static Results.NotificationResult Pushover()". It now looks like this.

public static Results.NotificationResult Pushover(string token, string apikey, string description, string ev)
{
if (!CheckApiToken(token))
return Results.NotificationResult.TokenError;

if (!CheckApiToken(apikey))
return Results.NotificationResult.ApiKeyError;

string url = "https://api.pushover.net/1/messages.json";
url += "?token=" + HttpUtility.UrlEncode(token.Trim()) +
"&user=" + HttpUtility.UrlEncode(apikey.Trim()) +
"&message=" + HttpUtility.UrlEncode(description) +
"&title=" + HttpUtility.UrlEncode(ev);

return Send(url);
}

Then I edited, "AlerterReloaded\MobileNotifications" to look like this,

if (AlerterReloadedSettings.Instance.SendOnPushover && !string.IsNullOrWhiteSpace(AlerterReloadedSettings.Instance.PushoverApiKey) && !string.IsNullOrWhiteSpace(AlerterReloadedSettings.Instance.PushoverKey))
{
var sent = Notifications.Pushover(
"PUSHOVER_API_KEY_HERE",
"PUSHOVER_USER_KEY_HERE",
notification.Event,
notification.Description);

if (sent != Results.NotificationResult.None)
AlerterReloaded.Log.Debug($"[AlerterReloaded][Notifications (PushOver)] A notification didn't get sent, Err : {sent}");
}
Where the variables, PUSHOVER_API_KEY_HERE and PUSHOVER_USER_KEY_HERE, actually contained the values.
 
In recent days, alert has stopped calling the PM. Do you know why? someone is the same as me?
 
Last edited:
Back
Top